@cutting/eslint
v1.0.0
Published
Shared eslint configuration
Downloads
3
Maintainers
Readme
eslint-config-typescript
Shared eslint configuration
The following sets of rules are implemented in this package:
Typescript
- @typescript-eslint/recommended (rules)
React
All typescript rules, plus (in order):
- eslint-plugin-react/recommended (rules)
- eslint-plugin-jsx-a11y (rules)
- eslint-plugin-react-hooks (rules set manually)
- eslint-plugin-jest (rules)
- eslint-plugin-import (rules)
- eslint-config-prettier (rules)
- eslint-config-prettier/@typescript-eslint
- eslint-plugin-jest-formatting (rules)
Overrides
Some rules are overriden. Please see .eslintrc.json
in the package.
Further rules can be overriden in the projects .eslintrc.json
, or you can disable rules in the files / for a line using the /* eslint-disable: <rule> */
, or //eslint-disable-next-line <rule>
, although these should be kept to a minimum.