4.0.0 • Published 5 years ago

eslint-plugin-xogroup v4.0.0

Weekly downloads
46
License
BSD-3-Clause
Repository
github
Last release
5 years ago

eslint-plugin-xogroup

eslinting plugin ruleset and configuration defaults for the XO Group JS environment

npm version Build Status

Known Vulnerabilities NSP Status

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-xogroup:

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

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

Usage

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

{
    "plugins": [
        "xogroup"
    ]
}

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

{
    "rules": {
        "xogroup/rule-name": 2
    }
}

Also extend existing configurations under the extends section.

{
    "extends": [
        "plugin:xogroup/recommended",
        "plugin:xogroup/hapijs",
        "plugin:xogroup/angular",
    ]
}

Supported Rules

No Custom Rules

Suported Configurations

  • hapijs
  • angular
4.0.0

5 years ago

4.0.1

5 years ago

3.0.0

5 years ago

2.3.2

5 years ago

2.4.0

5 years ago

2.3.1

6 years ago

2.2.0

7 years ago

2.1.0

8 years ago

2.0.0

8 years ago

1.2.0

8 years ago

1.1.0

8 years ago

1.0.5

9 years ago

1.0.4

9 years ago

1.0.2

9 years ago

1.0.1

9 years ago