eslint-plugin-ahaha-miniprogram

0.0.4 • Public • Published

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

Package Sidebar

Install

npm i eslint-plugin-ahaha-miniprogram

Weekly Downloads

1

Version

0.0.4

License

ISC

Unpacked Size

15.6 kB

Total Files

16

Last publish

Collaborators

  • princekinwdk