Skip to content

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

2 watching

Forks

Latest commit

 

History

27 Commits

Folders and files

Repository files navigation

eslint-plugin-wizard

eslint rules for wizard project

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-wizard:

$ npm install eslint-plugin-wizard --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-wizard globally.

Usage

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

{
  "plugins": ["wizard"]
}

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

{
  "rules": {
    "wizard/use-t-function": "warn",
    "wizard/no-unused-props": "warn",
    "wizard/nightwatch-execute": "error",
    "wizard/action-checker": "warn"
  }
}

Supported Rules

  • use-t-function
  • no-unused-props
  • nightwatch-execute
  • action-checker

About

No description, website, or topics provided.

Resources

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages