## npm
$ npm install eslint-plugin-wxml --save-dev
## cnpm (for china user)
$ cnpm install eslint-plugin-wxml --save-dev
## pnpm
$ pnpm add eslint-plugin-wxml -D
## yarn
$ yarn add eslint-plugin-wxml -D
.eslintrc .eslintrc.yml .eslinrc.json .eslintrc.js
+ "overrides": [
+ {
+ "files": ["*.wxml"],
+ "rules": {
+ "wxml/report-wxml-syntax-error": "error"
+ },
+ "plugins": ["wxml"],
+ "processor": "wxml/wxml",
+ "parser": "@wxml/parser"
+ }
+ ],
Missing your wanted rule ? please report it as a new github issue, thanks !
Copyright (c) 2021-present, Lei Chen