2.0.1 • Published 5 years ago
eslint-plugin-summer v2.0.1
eslint-plugin-summer
The never ending summer plugin of lint.
Install
npm
$ npm install --save-dev eslint eslint-plugin-summeryarn
$ yarn add -D eslint eslint-plugin-summerusage
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.