Skip to content
This repository has been archived by the owner on Aug 18, 2020. It is now read-only.

jelly/eslint-plugin-no-unneeded-logical-operators

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-plugin-no-unneeded-logical-operators Build Status

Detect no-unneeded-logical-operators

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-no-unneeded-logical-operators:

$ npm install eslint-plugin-no-unneeded-logical-operators --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-no-unneeded-logical-operators globally.

Usage

Add eslint-plugin-no-unneeded-logical-operators to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "no-unneeded-logical-operators"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "no-unneeded-logical-operators": 2
    }
}

Supported Rules

  • Fill in provided rules here

About

ESLint plugin to detect unneeded logical operators

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published