eslint-config-prettier: conflicts with standard/computed-property-even-spacing
I’m using eslint-config-prettier together with eslint-config-prettier-standard which works great except for this:
prettier wants
const { whatever } = loooooooooooooooooooooooong[
something
].some.thiiiiiiiiiiiiing[0]
while standard wants
const { whatever } = loooooooooooooooooooooooong[something].some.thiiiiiiiiiiiiing[0]
I wonder if this is due to computed-property-even-spacing not being turned off.
eslint-config-prettier-check
reports “No rules that are unnecessary or conflict with Prettier were found.”
About this issue
- Original URL
- State: closed
- Created 7 years ago
- Reactions: 5
- Comments: 15 (4 by maintainers)
Thanks!
That rule is already turned off: https://github.com/prettier/eslint-config-prettier/blob/0f131661f718e278ec1e51529f56450a61f10b11/standard.js#L6
So it’s strange that you had to turn it off manually. Perhaps you forgot to enable standard support?
Tip: Don’t include
prettier
inextends
array. Justprettier/standard
to disable Standard rules that directly conflict with Prettier (not much).This way you get as much Standard and as little Prettier as possible.
You also don’t need
eslint-plugin-prettier
.Dunno. Packages keep getting updated and Standard/eslint/Prettier/editor-plugins have turned into a huge headache to get working together, so I just uninstalled all that crap months ago, and just use VSCode’s default Prettier integration for generic code style rules.
Now I actually get work done and products launched.
Can confirm that that configuration fixes the described problems, thanks a lot! (Sorry for being vague at the beginning again)
On Mon, Feb 26, 2018 at 6:00 PM Francisco Guijarro franleplant@gmail.com wrote:
@franleplant Can you make a VR app that lets me see through your eyes? 😃