How to use presets from eslint-plugin-prettierx configuration?
See original GitHub issueI have the following eslint config which works fine.
"plugins": [
"prettierx",
"node",
"promise"
],
"extends": [
"eslint:recommended",
"plugin:prettierx/standardx",
"plugin:promise/recommended",
"plugin:node/recommended"
],
How do I setup prettierx to grab the configuration from here during formatting? Or do I have to duplicate it in a prettierrc file or something?
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Integrating with Linters - Prettier
Use Prettier for code formatting concerns, and linters for code-quality concerns, as outlined in ... eslint-config-prettier · stylelint-config-prettier.
Read more >Eslint / Prettier - What presets should we use?
I'm thinking we could use prettier with the default config (no config file). Yes, I know, that means no trailing comma, no semis...
Read more >ESLint plugin for Prettier formatting - GitHub
eslint -plugin-prettier Build Status. Runs Prettier as an ESLint rule and reports differences as individual ESLint issues. If your desired formatting does ...
Read more >Setting up efficient workflows with ESLint, Prettier and ...
For special rules like TypeScript or new features that are not supported by ESLint, we have to install either a eslint-config-xxx or a...
Read more >Configuring ESLint with Prettier | Dev Diary
We'll see 2 methods to configure ESLint with Prettier and write ... We'll use 2 presets (think of them as a collection of...
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 FreeTop 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
Top GitHub Comments
See the note at the end of https://prettier.io/docs/en/configuration.html#sharing-configurations:
I would love to make the Prettier stack more pluggable and extensible but am not in a position to make this a priority as a lone freelancer 😃
@ronag , @brodybits , sorry by the delay.
DELETED, THIS COMMENT IS NOT VALID FOR eslint-plugin-prettierx 😖