The current exclusion config for react seems to turn off a handful of jsx related rules.
How do you decide which rules to turn off?
Is the react/self-closing-comp rule a style related rule, should it be part of prettier exclusions?
Prettier seems to automatically correct this when saving, but while working on the file in the editor, i get 2 linting errors, one from prettier and another from airbnb config.
Please help me understand whether or not this is something that should be turned off by eslint-config-prettier?
(I am still trying to understand what to expect from prettier and eslint-config-prettier)
The current exclusion config for
reactseems to turn off a handful of jsx related rules.How do you decide which rules to turn off?
Is the
react/self-closing-comprule a style related rule, should it be part of prettier exclusions?Prettier seems to automatically correct this when saving, but while working on the file in the editor, i get 2 linting errors, one from
prettierand another fromairbnb config.Please help me understand whether or not this is something that should be turned off by
eslint-config-prettier?(I am still trying to understand what to expect from prettier and eslint-config-prettier)