eslint-plugin-kp-package v0.0.4
eslint-plugin-kp-package
a collection of eslint plugins for wills personal use
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-kp-package:
$ npm install eslint-plugin-kp-package --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-kp-package globally.
Usage
Add kp-package to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["kp-package"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"kp-package/rule-name": 2
}
}Supported Rules
desc for var-length (var-length)
Please describe the origin of the rule here.
Rule Details
This rule aims to...
Examples of incorrect code for this rule:
var a=1,b=3,c=3Examples of correct code for this rule:
var age = 30 , name = "will"Options
If there are any options, describe them here. Otherwise, delete this section.
When Not To Use It
Give a short description of when it would be appropriate to turn off this rule.
Further Reading
If there are other links that describe the issue this rule addresses, please include them here in a bulleted list.