eslint-plugin-xendit
v0.1.1
Published
xendit specific eslint rules
Downloads
589
Maintainers
Readme
eslint-plugin-xendit
xendit specific eslint rules
Installation
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-xendit
:
$ npm install eslint-plugin-xendit --save-dev
Note: 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