npm

npm’s 2019 JavaScript ecosystem survey analysis is now available! Get your copy here »

eslint-plugin-bdd

2.1.1 • Public • Published

eslint-plugin-bdd

npm license status dependencies

ESLint plugin with rules to lint BDD specs.

$ npm install eslint-plugin-bdd

Usage

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

{
    "plugins": [
        "bdd"
    ]
}

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

{
    "rules": {
        "bdd/focus": 2,
        "bdd/exclude": 2
    }
}

Supported Rules

For more examples on what each rule does take a look at the test samples.

install

npm i eslint-plugin-bdd

Downloadsweekly downloads

712

version

2.1.1

license

MIT

homepage

github.com

repository

Gitgithub

last publish

collaborators

  • avatar
Report a vulnerability