Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/t-huth/eslint-plugin-chai-assert-bdd


https://github.com/t-huth/eslint-plugin-chai-assert-bdd

Last synced: 18 days ago
JSON representation

Awesome Lists containing this project

README

        

# eslint-plugin-chai-assert-bdd

eslint-Plugin to add globals for mochas chai assertion library

## Installation

You'll first need to install [ESLint](http://eslint.org):

```
$ 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:

```json
{
"plugins": [
"chai-assert-bdd"
]
}
```