eslint-plugin-summer
TypeScript icon, indicating that this package has built-in type declarations

2.0.1 • Public • Published

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.

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-plugin-summer

Weekly Downloads

150

Version

2.0.1

License

MIT

Unpacked Size

154 kB

Total Files

7

Last publish

Collaborators

  • 1natsu