0.1.0 • Published 7 years ago

eslint-plugin-invenco v0.1.0

Weekly downloads
22
License
ISC
Repository
-
Last release
7 years ago

eslint-plugin-invenco

Invenco's Eslint Rules

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-invenco:

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

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

Usage

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

{
    "plugins": [
        "invenco"
    ]
}

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

{
    "rules": {
        "invenco/prefix-testcase-with-dash": "error"
    }
}

Supported Rules

prefix-testcase-with-dash

  • a test title should start with a dash

testcase-starts-with-should

  • a test title should start with 'should'

yield-db-commands

  • checks for yield in front of db commands
0.1.0

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago

0.0.1

7 years ago