prettier / eslint-config-prettier

Turns off all rules that are unnecessary or might conflict with Prettier.
MIT License
5.41k stars 254 forks source link

Disable react/jsx-indent #65

Closed julien-f closed 5 years ago

julien-f commented 5 years ago

Rule provided by eslint-plugin-react used by eslint-config-standard.

lydell commented 5 years ago

Hi! That rule is already included:

https://github.com/prettier/eslint-config-prettier/blob/152bd7d6582816a493ac0ab619bd8789ac57f280/react.js#L11

Perhaps you forgot to put "prettier/react" in the extends array of your .eslintrc?

julien-f commented 5 years ago

Indeed! :confounded:

Sorry for this and thanks for the prompt answer :slightly_smiling_face:

DigiDigiblez commented 4 years ago

Hi! That rule is already included:

https://github.com/prettier/eslint-config-prettier/blob/152bd7d6582816a493ac0ab619bd8789ac57f280/react.js#L11

Perhaps you forgot to put "prettier/react" in the extends array of your .eslintrc?

Bingo, forgot to add that rule inheritance. Good man!