1.0.0-beta.3 • Published 3 years ago

eslint-config-clutter v1.0.0-beta.3

Weekly downloads
471
License
UNLICENSED
Repository
github
Last release
3 years ago

eslint-config-clutter

npm version

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

  1. Add "extends": "clutter" to your ESLint configuration file.
  2. Enable the Prettier configuration by updating the project's package.json with the following:
{
  "prettier": "eslint-config-clutter/prettier-config"
}

Resources