Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/t-huth/eslint-plugin-chai-assert-bdd
- Owner: t-huth
- License: mit
- Created: 2017-09-12T17:17:28.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2017-09-14T12:03:18.000Z (over 7 years ago)
- Last Synced: 2024-12-14T22:03:17.849Z (22 days ago)
- Language: JavaScript
- Size: 3.91 KB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome-eslint - chai globals
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"
]
}
```