0.0.4 • Published 4 years ago

eslint-plugin-ahaha-miniprogram v0.0.4

Weekly downloads
1
License
ISC
Repository
github
Last release
4 years ago

eslint-plugin-ahaha-miniprogram

eslint plugin for wx miniprogram

Installation

You'll first need to install ESLint:

$ yarn add eslint --dev

Next, install eslint-plugin-ahaha-miniprogram:

$ yarn add eslint-plugin-ahaha-miniprogram --dev

Usage

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

{
  "plugins": ["ahaha-miniprogram"]
}

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

{
  "rules": {
    "ahaha-miniprogram/rule-name": ["error", { "config": "foo" }]
  }
}

Supported Rules