0.1.0 • Published 8 years ago
eslint-plugin-bench v0.1.0
eslint-plugin-bench
No pause property allowed
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-bench:
$ npm install eslint-plugin-bench --save-devNote: 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-pausenopause()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