eslint-plugin-nightingale

0.0.1 • Public • Published

eslint-plugin-nightingale

夜莺前端的 ESLint 规则集合

Installation

You'll first need to install ESLint:

npm i eslint --save-dev

Next, install eslint-plugin-nightingale:

npm install eslint-plugin-nightingale --save-dev

Usage

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

{
  "plugins": ["nightingale"]
}

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

{
  "rules": {
    "nightingale/rule-name": 2
  }
}

Supported Rules

  • Fill in provided rules here

Package Sidebar

Install

npm i eslint-plugin-nightingale

Weekly Downloads

1

Version

0.0.1

License

ISC

Unpacked Size

17.2 kB

Total Files

15

Last publish

Collaborators

  • q1797793818