Skip to content

Chooks22/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

@chookslint/eslint-config

ESLint config for modern JavaScript projects.

npm npm (scoped)

Installation

Download the config:

$ npm i -D @chookslint/eslint-config

Then plug it into your existing eslint config:

{
  "extends": [
    "@chookslint"
  ]
}

Notes

  • This config extends eslint/recommended, and is intended for use with modern ES6 features (no vars, no hoisting functions, etc.).
  • While this config is very opinionated and is intended for use in my projects, please feel free to extend or overwrite any rules that may have been set/unset to suit your project.
    • When overwriting, rules enabled with error level error is intended to be enforced by this ruleset.
    • When you find that you need to overwrite/ignore/disable many rules with error level error, extending from a different ruleset may be preferred.
  • Typescript rules are available via @chookslint/eslint-config-typescript.