@lark-apaas/fullstack-presets 1.1.13 → 1.1.14
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/recommend/eslint/eslint-server.d.ts +1 -0
- package/lib/recommend/eslint/eslint-server.js +1 -0
- package/lib/simple/recommend/eslint/eslint-client.js +1 -0
- package/lib/simple/recommend/eslint/eslint-server.d.ts +1 -0
- package/lib/simple/recommend/eslint/eslint-server.js +1 -0
- package/package.json +2 -2
|
@@ -185,6 +185,7 @@ const baseConfig = {
|
|
|
185
185
|
'no-control-regex': 'off',
|
|
186
186
|
'no-useless-escape': 'off',
|
|
187
187
|
'no-case-declarations': 'off',
|
|
188
|
+
'no-empty': 'off', // 允许空的 catch 块
|
|
188
189
|
// Import 规则
|
|
189
190
|
'import/no-unresolved': ['error', { ignore: ['\\?raw$'] }], // 检查导入路径是否存在,忽略 ?raw 查询参数
|
|
190
191
|
// 其他规则
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@lark-apaas/fullstack-presets",
|
|
3
|
-
"version": "1.1.
|
|
3
|
+
"version": "1.1.14",
|
|
4
4
|
"files": [
|
|
5
5
|
"lib"
|
|
6
6
|
],
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
"styled-jsx": "^5.1.6",
|
|
45
45
|
"typescript": "^5.9.2",
|
|
46
46
|
"typescript-eslint": "^8.44.0",
|
|
47
|
-
"vitest": "^2.
|
|
47
|
+
"vitest": "^3.2.4"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"eslint": "^9.0.0",
|