1.0.3 • Published 5 years ago
eslint-plugin-no-use-unsupported-property v1.0.3
eslint-plugin-no-use-unsupported-property
disable use some property for wx mini-program
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-no-use-unsupported-property:
$ npm install eslint-plugin-no-use-unsupported-property --save-devUsage
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
    }
}Supported Rules
- Fill in provided rules here