A collection of ESLint rules to enforce clean coding conventions.
This configuration is a demonstration of how ESLint can be used to automate enforcement of some rules. The configuration represents a subset of rules from some eslint plugins; it is still suggested to use the plugins directly and their recommended rules.
install
yarn install --save-dev eslint-config-code-smells
eslint config
extends:
- code-smells
parserOptions:
project: ./tsconfig.json # if using typescript