eslint-plugin-gs-rules
v1.0.6
Published
Ganchrow Scientific's custom rules
Downloads
14
Maintainers
Readme
eslint-plugin-gs-rules
Ganchrow Scientific's Custom Rules
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-gs-rules
:
$ npm install eslint-plugin-gs-rules --save-dev
Usage
Extend the configuration using gs-rules/base
configuration in your .eslintrc
configuration file.
{
"extends": [
"plugin:gs-rules/base"
]
};
Also you can use individual rules without extending a configuration
'plugins': [
'gs-rules'
],
{
"rules": {
"gs-rules/rule-name": 2
}
}