New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-plugin-summer

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-summer

The never ending summer plugin of lint.

2.0.1
latest
Source
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

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"
  }
}

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.

FAQs

Package last updated on 20 May 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts