eslint-plugin-string-value
v0.1.0
Published
check string value
Maintainers
Readme
eslint-plugin-string-value
check string value
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-attr:
$ npm install eslint-plugin-string-value --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-attr globally.
Usage
Add attr to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"string-value"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"string-value/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
- string-value/blacklist
- string-value/attributes-value-blacklist
