Is prettier.eslintIntegration a setting that can be set in the .prettierrc file?
See original GitHub issueI tried setting it in .prettierrc (rather than in VSCode settings) and it did not seem to work. Does work when set in VSCode setttings.
Just wondering if this is the expected behavior, or if I was doing something wrong?
If this is still a setting that only works when set in VSCode Settings, then A) the docs could be clearer that those settings are specific to the VSCode settings, and B) it would be rad if it was technically feasible to have that setting picked up from .prettierrc (as it get’s more and more of the settings in the repo, rather than in the editor)
Here is what my .prettierrc looks like:
{
"eslintIntegration": true
}
Issue Analytics
- State:
- Created 6 years ago
- Comments:9 (5 by maintainers)
Top Results From Across the Web
How to configure Prettier and VSCode - Gleb Bahmutov
This blog post shows how to configure Prettier to work from command line, from VSCode and from Git hooks. You can find the...
Read more >Integrating with Linters - Prettier
Linters usually contain not only code quality rules, but also stylistic rules. Most stylistic rules are unnecessary when using Prettier, but worse –...
Read more >How to use Prettier with ESLint and TypeScript in VSCode
Prettier can be configured to format your code (makes it look ... that the file lives in has a .prettierrc , it will...
Read more >How to use Prettier with ESLint - Robin Wieruch
The default setup for my JavaScript projects: Prettier + ESLint. ... If you have set up Prettier, you can configure it to format...
Read more >Integrating Prettier and ESLint With VS Code - Enlear Academy
The next step is to set up the config files. For that, let's create a .eslintrc · Similarly, you can create a .prettierrc...
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

Hey guys, just stumbled on this thread because I could not seem to get the
prettier.eslintIntegrationsetting to work. My confusion was from attempting to set it in my package.json. When I discovered this issue, I realized that it was a setting in vscode directly.Might be a good idea to call that out in the documentation. The way it is formatted now made me think initially at first that the setting was specific to visual studio code but was set in the various prettier settings methods.
This issue has been automatically locked since there has not been any recent activity after it was closed. Please open a new issue for related bugs.