eslint-plugin-xj
v1.0.4
Published
Await must be used in try... catch
Downloads
8
Maintainers
Readme
eslint-plugin-don-quixote-xj
Await must be used in try... catch
Installation
You'll first need to install ESLint:
npm i eslint --save-dev
Next, install eslint-plugin-don-quixote-xj
:
npm install eslint-plugin-don-quixote-xj --save-dev
Usage
Add don-quixote-xj
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"don-quixote-xj"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"don-quixote-xj/rule-name": 2
}
}
Supported Rules
- Fill in provided rules here