eslint-plugin-valtech
v0.4.1
Published
Custom Eslint rules for Valtech JavaScript projects.
Downloads
490
Maintainers
Readme
eslint-plugin-valtech 
Custom Eslint rules for Valtech JavaScript projects.
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-valtech
:
$ npm install eslint-plugin-valtech --save-dev
Note: If you installed ESLint globally (using the -g
flag) then you must also install eslint-plugin-valtech
globally.
Usage
Add valtech
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"valtech"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"valtech/rule-name": 2
}
}