eslint-plugin-awesome-lint

1.0.5 • Public • Published

eslint-plugin-awesome-lint

自定义一些 eslint 规则

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-awesome-lint:

npm install eslint-plugin-awesome-lint --save-dev

Usage

Add awesome-lint to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:

{
  "plugins": ["awesome-lint"]
}

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

{
  "rules": {
    "awesome-lint/rule-name": 2
  }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-awesome-lint

Weekly Downloads

2

Version

1.0.5

License

ISC

Unpacked Size

6.14 kB

Total Files

8

Last publish

Collaborators

  • l1114