eslint-config-max
Based on Standard, but enforcing additional rules to further consistency.:
Usage
# install `eslint` and `eslint-config-max`: npm i eslint eslint-config-max # create your `.eslintrc` file echo "{ \"extends\": \"max\"}" > .eslintrc
Rules added to Standard
object-curly-spacing
// okexportsok = a: '1' // not okexportsnotOk = a: '1'
max-len
Lines may not be longer than 80 characters.
// requires are ignored. ok: // not okmyModule
require-path-exists
// not ok// not ok// not ok
mocha/no-exclusive-tests
You're not allowed to use describe.only
etc.
mocha/no-mocha-arrows
You're not allowed to pass arrow functions to describe
, it
, etc.