eslint-plugin-summer
v2.0.1
Published
The never ending summer plugin of lint.
Downloads
38
Readme
eslint-plugin-summer
The never ending summer plugin of lint.
Install
npm
$ npm install --save-dev eslint eslint-plugin-summer
yarn
$ yarn add -D eslint eslint-plugin-summer
usage
Setup .eslintrc
{
"plugins": ["summer"],
"rules": {
"summer/no-eqeqeq-null-undefined": "error",
"summer/no-let": "error",
"summer/no-plain-new-date": "error"
}
}
Recommended config
This plugin exports a recommended
config that enforces good practices.
Setup on your .eslintrc
with the extends
option:
{
"extends": ["plugin:summer/recommended"]
}
See the ESLint docs for more information about extending config files.
Note: This config will also enable the correct parser options and environment.