eslint-plugin-tp-node

0.0.0-beta.1 • Public • Published

eslint-plugin-tp-recommended-node

node eslint

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-tp-recommended-node:

npm install eslint-plugin-tp-recommended-node --save-dev

Usage

Add tp-recommended-node to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
    "plugins": [
        "tp-recommended-node"
    ]
}

Then configure the rules you want to use under the rules section.

{
    "rules": {
        "tp-recommended-node/rule-name": 2
    }
}

Rules

TODO: Run eslint-doc-generator to generate the rules list.

Package Sidebar

Install

npm i eslint-plugin-tp-node

Weekly Downloads

1

Version

0.0.0-beta.1

License

ISC

Unpacked Size

3.25 kB

Total Files

5

Last publish

Collaborators

  • tangpiece