disable use some property for wx mini-program
You'll first need to install ESLint:
$ npm i eslint --save-dev
Next, install eslint-plugin-no-use-unsupported-property
:
$ npm install eslint-plugin-no-use-unsupported-property --save-dev
Add eslint-plugin-no-use-unsupported-property
to the plugins section of your .eslintrc
configuration file. You can omit the eslint-plugin-
prefix:
{
"plugins": [
"eslint-plugin-no-use-unsupported-property"
]
}
Then configure the rules you want to use under the rules section.
{
"rules": {
"no-use-unsupported-property/no-use-unsupported-property": 2
}
}
- Fill in provided rules here