-
-
Notifications
You must be signed in to change notification settings - Fork 4.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
JSON Syntax Error #2276
Comments
JSON support hasn't yet been release, and this is not a valid JavaScript statement (it's a valid javascript expression). I'm working on the next release, so please wait a bit more :) |
@vjeux |
Interestingly, this error pops up with Config file: {
"useTabs": false,
"printWidth": 80,
"tabWidth": 2,
"semi": true,
"singleQuote": true,
"trailingComma": "all",
"bracketSpacing": true,
"jsxBracketSameLine": false,
"parser": "typescript"
}
See also: prettier/pretty-quick#23 (comment) Removing the -edit- hit post Comment button too quick. |
@jbmusso configuring prettier with |
Experiencing this error in v1.13.x: @vjeux I believe there is a breaking change between these versions edit: also tested v1.12 where it is working |
@coleturner Prettier 1.13 fixed a bug where your |
Aha I see, this is an edge case then, please ignore :P |
I'm getting this error with no overrides:
- files: "*.json"
options:
parser: json |
@texastoland Can you open a new issue and fill out the formatting template? |
./locales/en.json
./locales/en.json: SyntaxError: Unexpected token, expected ; (2:14)
The text was updated successfully, but these errors were encountered: