question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Is prettier.eslintIntegration a setting that can be set in the .prettierrc file?

See original GitHub issue

I 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:closed
  • Created 6 years ago
  • Comments:9 (5 by maintainers)

github_iconTop GitHub Comments

2reactions
NotMyselfcommented, Dec 12, 2017

Hey guys, just stumbled on this thread because I could not seem to get the prettier.eslintIntegration setting 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.

0reactions
github-actions[bot]commented, Apr 13, 2020

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found