0.1.0 • Published 7 years ago

eslint-plugin-bench v0.1.0

Weekly downloads
8
License
ISC
Repository
-
Last release
7 years ago

eslint-plugin-bench

No pause property allowed

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-bench:

$ npm install eslint-plugin-bench --save-dev

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

Usage

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

{
    "plugins": [
        "bench"
    ]
}

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

{
    "rules": {
        "bench/no-pause": "error" 
    }
}

Supported Rules

  • no-pause no pause() property is allowed on any object

Publishing package

This package is available at https://www.npmjs.com/package/eslint-plugin-bench

To publish changes to this package:

npm login
npm publish
0.1.0

7 years ago

0.0.2

7 years ago