Awesome
eslint-plugin-chai-assert-bdd
eslint-Plugin to add globals for mochas chai assertion library
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-chai-assert-bdd
:
$ npm install eslint-plugin-chai-assert-bdd --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-chai-assert-bdd
globally.
Usage
Add chai-assert-bdd
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"chai-assert-bdd"
]
}