0.3.0 • Published 8 years ago
@atlauncher/eslint-plugin-atlauncher v0.3.0
@atlauncher/eslint-plugin-atlauncher
Custom ESLint rules for use with eslint-config-atlauncher
Installation
You'll first need to install ESLint:
npm i eslint --save-devNext, install @atlauncher/eslint-plugin-atlauncher:
npm install @atlauncher/eslint-plugin-atlauncher --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install @atlauncher/eslint-plugin-atlauncher globally.
Usage
Add @atlauncher/atlauncher to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"@atlauncher/atlauncher"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"atlauncher/rule-name": 2
}
}Supported Rules
- atlauncher/require-jsdoc - this is the same as the ESLint 'require-jsdoc' rule, but provides an extra 'ignore' option for function/method/class names to ignore