eslint-plugin-wn-fecodescan

1.0.15 • Public • Published

eslint-plugin-wn-fecodescan

wn 前端代码扫描插件

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-wn-fecodescan:

$ npm install eslint-plugin-wn-fecodescan --save-dev

Note: If you installed ESLint globally (using the -g flag) then you must also install eslint-plugin-wn-fecodescan globally.

Usage

Add comments-key to the plugins section of your .eslintrc configuration file or package.json. You can omit the eslint-plugin- prefix:

package.json demo

"eslintConfig": {
    "plugins": [
      "wn-fecodescan"
    ],
    "rules": {
      'wn-fecodescan/xxxx': 'error',
    }
}

After the configuration is complete, you can see the prompts when coding and building

Readme

Keywords

Package Sidebar

Install

npm i eslint-plugin-wn-fecodescan

Weekly Downloads

1

Version

1.0.15

License

ISC

Unpacked Size

2.77 MB

Total Files

389

Last publish

Collaborators

  • littlezhongzer