0.1.1 • Published 7 years ago
eslint-plugin-xendit v0.1.1
eslint-plugin-xendit
xendit specific eslint rules
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-xendit:
$ npm install eslint-plugin-xendit --save-devNote: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-xendit globally.
Usage
Add xendit to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": [
"xendit"
]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"xendit/rule-name": 2
}
}Supported Rules
- Fill in provided rules here
Reporting Bugs
- Create a pull request with a passing and failing example
- Optionally submit implementation