Issue with rule standard/computed-property-even-spacing
See original GitHub issueWhen linting with standard, prettier-standard formatting conflicts with the rule standard/computed-property-even-spacing.
Similar to https://github.com/prettier/eslint-config-prettier/issues/29
Prettier standard wants this:
const { whatever } = loooooooooooooooooooooooong[
something
].some.thiiiiiiiiiiiiing[0]
While standard wants:
const { whatever } = loooooooooooooooooooooooong[something].some.thiiiiiiiiiiiiing[0]
Issue Analytics
- State:
- Created 5 years ago
- Comments:7 (4 by maintainers)
Top Results From Across the Web
conflicts with standard/computed-property-even-spacing #29
I use Prettier + eslint-config-standard + eslint-config-prettier in a pretty large project and haven't bumped into any problems yet.
Read more >computed-property-spacing - Pluggable JavaScript Linter
This rule enforces consistent spacing inside computed property brackets. It either requires or disallows spaces between the brackets and the values inside of ......
Read more >Eslint-plugin-standard NPM - npm.io
computed-property-even-spacing - Like computed-property-spacing around ESLint except is has an even option which lets you have 1 or 0 spacing padding.
Read more >eslint-plugin-standard - npm
computed -property-even-spacing - Like computed-property-spacing around ESLint except is has an even option which lets you have 1 or 0 spacing padding. no ......
Read more >eslint-plugin-standard2 - npm package | Snyk
ESlint Plugin for the Standard Linter 2 For more information about how to use ... computed-property-even-spacing - Like computed-property-spacing around ...
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
prettier-standard 9.0.0 now uses just prettierx for formatting and we recommend using https://github.com/prettier/eslint-config-prettier in .eslintrc to disable any non-compatible whitespace rules set by standard. unfortunately it’s not possible to have true 1:1 match between prettier and standard, but we’re pretty close 😃 you can contribute or raise issues to https://github.com/brodybits/prettierx to fix remaining incompatibilities
@sheerun does it mean that some of rules should be disabled to prevent conflicts with
eslint-config-standard
andeslint-confit-standard-jsx
I see
indent
andreact/jsx-curly-newline
have conflicts at the moment, so can I just disable them and rely onprettier-standard
instead?