0.1.2 • Published 4 years ago

eslint-config-code-smells v0.1.2

Weekly downloads
3
License
MIT
Repository
github
Last release
4 years ago

eslint-config-code-smells

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.

Usage

install

yarn install --save-dev eslint-config-code-smells

eslint config

extends:
  - code-smells
parserOptions:
  project: ./tsconfig.json # if using typescript