Skip to content

Nate-Wilkins/eslint-plugin-bdd

Repository files navigation

eslint-plugin-bdd

npm license test coverage dependencies

ESLint plugin with rules to lint (BDD) Behavior Driven Development specs and tests.

$ 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.

About

ESLint plugin with rules to lint BDD specs

Topics

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors