eslint-plugin-try-catch-await

0.0.0 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-try-catch-await

Weekly Downloads

1

Version

0.0.0

License

ISC

Unpacked Size

4.11 kB

Total Files

7

Last publish

Collaborators

  • donquixotexj