You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The plugin is picking up all the files prettier is targeting. Other than code files prettier reads json files as well for parsing. It fails for json file with the error
Environment
Describe the bug
The plugin is picking up all the files prettier is targeting. Other than code files prettier reads json files as well for parsing. It fails for json file with the error
[error] some.json: SyntaxError: Missing semicolon. (2:14) [error] 1 | { [error] 2 | "a": [ [error] 3 | "b" [error] 4 | ] [error] 5 | } [error] 6 |
To Reproduce
Add this plugin to prettier which formats json files.
Expected behaviour
There should be config to exclude the files by regex fro this pugin.
Configuration File (cat .prettierrc, prettier.config.js, .prettier.js)
`
importOrder:=
importOrderSeparation: true
importOrderSortSpecifiers: true
`
The text was updated successfully, but these errors were encountered: