eslint-plugin-ahaha-miniprogram
v0.0.4
Published
eslint plugin for wx miniprogram
Downloads
3
Maintainers
Readme
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" }]
}
}