You're Invited: Meet the Socket team at BSidesSF and RSAC - April 27 - May 1.RSVP

eslint-plugin-wizard

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-plugin-wizard

eslint rules for wizard project

0.1.4
latest
Version published
Weekly downloads
0
Maintainers
3
Weekly downloads
 
Created

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

FAQs

Package last updated on 02 Aug 2019

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts