3.3.3 • Published 4 years ago

eslint-plugin-internations v3.3.3

Weekly downloads
10
License
ISC
Repository
-
Last release
4 years ago

eslint-plugin-internations

npm version

Custom ESLint rules and recommended rule configuration for internal InterNations usage.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-internations and its peer dependencies:

(
  export PKG=eslint-plugin-internations;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/@/@/g' | xargs npm install --save-dev "$PKG@latest"
)

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-internations and its peer dependencies globally.

Usage

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

{
    "plugins": [
        "internations"
    ]
}

Then, add plugin:internations/recommended to the extends section:

{
    "extends": [
        "plugin:internations/recommended"
    ]
}

You may optionally configure any specific rules you want to override under the rules section:

{
    "rules": {
        "internations/rule-name": "error"
    }
}
3.3.3

4 years ago

3.3.2

4 years ago

3.3.1

4 years ago

3.3.0

4 years ago

3.2.0

5 years ago

3.1.2

6 years ago

3.1.1

6 years ago

3.1.0

6 years ago

3.0.1

7 years ago

3.0.0

7 years ago

2.2.0

7 years ago

2.1.0

7 years ago

2.0.1

7 years ago

2.0.0

8 years ago

1.1.0

8 years ago

1.0.0

8 years ago