1.2.5 • Published 5 years ago

eslint-plugin-no-call v1.2.5

Weekly downloads
141
License
MIT
Repository
github
Last release
5 years ago

eslint-plugin-no-call

Eslint plugin with a rule that forbid the use of particular functions and/or methods to call.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-no-call:

$ npm install eslint-plugin-no-call --save-dev

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

Usage

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

{
  "plugins": ["no-call"]
}

Then configure the rule.

{
  "rules": {
    "no-call/no-call": [1, ["_.set"]]
  }
}

Supported Rules

1.2.5

5 years ago

1.2.4

5 years ago

1.2.3

5 years ago

1.2.2

6 years ago

1.2.1

6 years ago

1.1.1

6 years ago

1.1.0

6 years ago

1.0.0

6 years ago