Learn about our RFC process, Open RFC meetings & more.Join in the discussion! »

@cutting/eslint

1.0.0 • Public • Published

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.

Install

npm i @cutting/eslint

Version

1.0.0

License

none

Unpacked Size

3.74 kB

Total Files

4

Last publish

Collaborators

  • avatar