Skip to content

Commit c601ebf

Browse files
committed
chore: 合并 ESLint 配置并移除不需要的文件
1 parent 181e8cd commit c601ebf

File tree

3 files changed

+18
-115
lines changed

3 files changed

+18
-115
lines changed

.eslintrc.json

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -173,6 +173,24 @@
173173
"no-undefined": "off"
174174
}
175175
},
176+
{
177+
"files": [
178+
"packages/taro-ui-demo/**/*.ts",
179+
"packages/taro-ui-demo/**/*.tsx"
180+
],
181+
"extends": [
182+
"taro/react"
183+
]
184+
},
185+
{
186+
"files": [
187+
"packages/taro-ui-demo/config/*.js",
188+
"packages/taro-ui-demo/babel.config.js"
189+
],
190+
"rules": {
191+
"import/no-commonjs": "off"
192+
}
193+
},
176194
{
177195
"files": [
178196
"packages/**/test/**/*.test.js",

packages/taro-ui-demo/.eslintrc.json

Lines changed: 0 additions & 56 deletions
This file was deleted.

packages/taro-ui-demo/src/ui.ts

Lines changed: 0 additions & 59 deletions
This file was deleted.

0 commit comments

Comments
 (0)