eslint-config-clutter
v1.0.0-beta.3
Published
Clutter's ESLint/Prettier config for Typescript projects
Downloads
415
Readme
eslint-config-clutter
This package uses ESLint to enforce Clutter's code style and provides a configuration for our React Typescript projects. We use this package in conjunction with Prettier for linting our projects.
Install
yarn add --dev eslint-config-clutter eslint
This ESLint configuration uses @rushstack/eslint-patch
which allows our configuration to bring along its own plugins rather than imposing peer dependencies on every consumer of the config. See the README for more information.
Usage
- Add
"extends": "clutter"
to your ESLint configuration file. - Enable the Prettier configuration by updating the project's
package.json
with the following:
{
"prettier": "eslint-config-clutter/prettier-config"
}