.prettierc overrides are ignored
See original GitHub issueIt seems the plugin ignores prettier’s overrides options. E.g. the following .prettierc
fails for the directory build_tools
:
{
"trailingComma": "all",
"overrides": [
{
"files": "build_tools/*.js",
"options": {
"trailingComma": "es5"
}
}
]
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:7 (5 by maintainers)
Top Results From Across the Web
prettierc overrides are ignored · Issue #237 - GitHub
It seems the plugin ignores prettier's overrides options. E.g. the following .prettierc fails for the directory build_tools :.
Read more >Prettier vscode extension ignoring config files - Stack Overflow
The extension seems to ignore the config file completely. A collegue has the extension and it works fine with config files. And in...
Read more >Configuration File - Prettier
This configuration will be overridden by .prettierrc , etc. Here's an annotated description of how different properties map to Prettier's behavior: # Stop...
Read more >Ignoring Code - Prettier
Use .prettierignore to ignore (i.e. not reformat) certain files and folders completely. Use “prettier-ignore” comments to ignore parts of files.
Read more >Options - Prettier
"ignore" - Whitespace (or the lack of it) around all tags is considered insignificant. Default, CLI Override, API Override. "css", --html-whitespace-sensitivity ...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
This is caused by https://github.com/prettier/prettier/issues/3005.
Agreed, I think this has been fixed since https://github.com/prettier/prettier/issues/3005 is closed.