eslint-plugin-uuapp

0.1.1 • Public • Published

eslint-plugin-uuapp

Extends eslint by rules specific for uuApp.

Installation

You'll first need to install ESLint:

$ npm i eslint --save-dev

Next, install eslint-plugin-uuapp:

$ npm install eslint-plugin-uuapp --save-dev

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

Usage

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

{
    "plugins": [
        "uuapp"
    ]
}

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

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

Supported Rules

Package Sidebar

Install

npm i eslint-plugin-uuapp

Weekly Downloads

0

Version

0.1.1

License

ISC

Unpacked Size

11.2 kB

Total Files

9

Last publish

Collaborators

  • jiridudekusy