eslint-config-tuya-panel
涂鸦面板开发 ESLint 插件
Please remove your eslint、prettier plugin first. All in eslint-config-tuya-panel
Install
$ yarn add -D eslint-config-tuya-panel
Config
.eslintrc.js
// .eslintrc.js in root
module.exports = {
extends: "tuya-panel"
}
.prettierrc.js
// .prettierrc.js in root
module.exports = require('eslint-config-tuya-panel/.prettierrc.js')