Skip to content

L1114/eslint-plugin-awesome-lint

Repository files navigation

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

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages