0.0.0 • Published 3 years ago

eslint-plugin-try-catch-await v0.0.0

Weekly downloads
-
License
ISC
Repository
-
Last release
3 years ago

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