Skip to content
Branch: master
Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
..
Failed to load latest commit information.
__tests__
constant
docs
rules
utils
CHANGELOG.md
README.md
index.js
package.json

README.md

eslint-plugin-taro

Taro ESLint 插件,只有当 ESLint 规则全部都通过时,Taro 小程序端才可能正常运行。

安装/设置

通过 NPM 安装:

$ npm install eslint-plugin-taro --save-dev

.eslintrc 中设置:

"extends": [
  "plugin:taro/all"
]

或者使用 taro-cli 创建模板自动设置。

规则

You can’t perform that action at this time.