hamodey
hamodey

Reputation: 91

how to disable Delete `⏎`eslintprettier/prettier

I'm using eslint + prettier + typescript-eslint

I added this rule

    "padded-blocks":[2,{ "blocks": "always","classes":"always" ,"switches":"always" }],

wanted to add newline

but prettier/prettier complain Delete `⏎`eslintprettier/prettier

how to disable this complain (only this complain as I want prettier/prettier do anot## er job)

Upvotes: 2

Views: 477

Answers (1)

David Bradshaw
David Bradshaw

Reputation: 13087

Prettier is all or nothing, it’s aim is to stop your team arguing over things like this.

I think most people have something in Prettier that they don’t like, but accept it because the overall benefit is greater than the minor annoyances.

Upvotes: 3

Related Questions