Enable plugin:react/recommended ESLint rules #34329
Labels
developer-experience
Addressing these issues will improve the experience of developers working on Teleport
effort:low
Tasks which can be completed within a few hours.
ui
value:low
Tasks which completion brings comparatively low benefits.
The recommended set of lint rules includes many helpful rules such as react/jsx-key.
Just simply enabling the recommended rules causes ~260 errors to pop up. Majority of the violations are for:
react/no-children-prop
which is mostly stylistic and doesn't have autofixreact/no-unescaped-entities
which also at this point is mostly stylistic and doesn't have an autofixDisabling those rules and running an autofix brings us to only about 20 violations which can be directly addressed:
The text was updated successfully, but these errors were encountered: