@zpcscc/configs 2.0.6 → 2.0.8
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/eslint-config/index.js +4 -2
- package/package.json +21 -22
package/eslint-config/index.js
CHANGED
@@ -9,8 +9,6 @@ module.exports = {
|
|
9
9
|
'eslint:recommended',
|
10
10
|
// eslint的标准配置
|
11
11
|
'standard',
|
12
|
-
// ts的标准支持
|
13
|
-
'standard-with-typescript',
|
14
12
|
// 对eslint注释的提示
|
15
13
|
'plugin:eslint-comments/recommended',
|
16
14
|
// ts推荐配置,做了一些兼容处理
|
@@ -21,6 +19,8 @@ module.exports = {
|
|
21
19
|
'plugin:import/typescript',
|
22
20
|
// unicorn的推荐配置
|
23
21
|
'plugin:unicorn/recommended',
|
22
|
+
// n的推荐配置
|
23
|
+
'plugin:n/recommended',
|
24
24
|
// 对promise的推荐配置
|
25
25
|
'plugin:promise/recommended',
|
26
26
|
/**
|
@@ -121,6 +121,8 @@ module.exports = {
|
|
121
121
|
'no-return-await': 'off',
|
122
122
|
// 禁止未使用的表达式
|
123
123
|
'no-unused-expressions': 'off',
|
124
|
+
// 禁止无效的import导入;此配置有bug;这里关闭;
|
125
|
+
'n/no-missing-import': 'off',
|
124
126
|
// 函数名称后需要跟一个空格。这里关闭
|
125
127
|
'space-before-function-paren': 'off',
|
126
128
|
// 在属性上使用析构函数变量。这里关闭
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@zpcscc/configs",
|
3
|
-
"version": "2.0.
|
3
|
+
"version": "2.0.8",
|
4
4
|
"description": "项目通用配置",
|
5
5
|
"keywords": [
|
6
6
|
"commitlint",
|
@@ -43,17 +43,17 @@
|
|
43
43
|
"start": "dumi dev"
|
44
44
|
},
|
45
45
|
"dependencies": {
|
46
|
-
"@babel/core": "7.24.
|
46
|
+
"@babel/core": "7.24.9",
|
47
47
|
"@babel/plugin-syntax-flow": "7.24.7",
|
48
48
|
"@babel/plugin-transform-react-jsx": "7.24.7",
|
49
|
-
"@babel/runtime": "7.24.
|
49
|
+
"@babel/runtime": "7.24.8",
|
50
50
|
"@commitlint/cz-commitlint": "19.2.0",
|
51
51
|
"@rushstack/eslint-patch": "1.10.3",
|
52
|
-
"@types/node": "20.14.
|
52
|
+
"@types/node": "20.14.10",
|
53
53
|
"@types/react": "18.3.3",
|
54
54
|
"@types/react-dom": "18.3.0",
|
55
|
-
"@typescript-eslint/eslint-plugin": "
|
56
|
-
"@typescript-eslint/parser": "
|
55
|
+
"@typescript-eslint/eslint-plugin": "7.16.1",
|
56
|
+
"@typescript-eslint/parser": "7.16.1",
|
57
57
|
"@vue/eslint-config-prettier": "9.0.0",
|
58
58
|
"@vue/eslint-config-typescript": "13.0.0",
|
59
59
|
"commitizen": "4.3.0",
|
@@ -61,39 +61,38 @@
|
|
61
61
|
"eslint": "8.57.0",
|
62
62
|
"eslint-config-prettier": "9.1.0",
|
63
63
|
"eslint-config-standard": "17.1.0",
|
64
|
-
"eslint-config-standard-with-typescript": "43.0.1",
|
65
64
|
"eslint-import-resolver-typescript": "3.6.1",
|
66
65
|
"eslint-plugin-eslint-comments": "3.2.0",
|
67
66
|
"eslint-plugin-import": "2.29.1",
|
68
|
-
"eslint-plugin-jsx-a11y": "6.
|
69
|
-
"eslint-plugin-n": "16
|
67
|
+
"eslint-plugin-jsx-a11y": "6.9.0",
|
68
|
+
"eslint-plugin-n": "16",
|
70
69
|
"eslint-plugin-prettier": "5.1.3",
|
71
|
-
"eslint-plugin-promise": "6.
|
72
|
-
"eslint-plugin-react": "7.34.
|
70
|
+
"eslint-plugin-promise": "6.4.0",
|
71
|
+
"eslint-plugin-react": "7.34.4",
|
73
72
|
"eslint-plugin-react-hooks": "4.6.2",
|
74
|
-
"eslint-plugin-unicorn": "
|
75
|
-
"eslint-plugin-vue": "9.
|
76
|
-
"inquirer": "9.
|
77
|
-
"postcss": "8.4.
|
78
|
-
"prettier": "3.3.
|
79
|
-
"prettier-plugin-organize-imports": "
|
80
|
-
"prettier-plugin-packagejson": "2.5.
|
73
|
+
"eslint-plugin-unicorn": "54.0.0",
|
74
|
+
"eslint-plugin-vue": "9.27.0",
|
75
|
+
"inquirer": "9.3.5",
|
76
|
+
"postcss": "8.4.39",
|
77
|
+
"prettier": "3.3.3",
|
78
|
+
"prettier-plugin-organize-imports": "4.0.0",
|
79
|
+
"prettier-plugin-packagejson": "2.5.1",
|
81
80
|
"stylelint": "14.16.1",
|
82
81
|
"stylelint-config-idiomatic-order": "10.0.0",
|
83
82
|
"stylelint-declaration-block-no-ignored-properties": "2.8.0",
|
84
|
-
"typescript": "5.
|
83
|
+
"typescript": "5.5.3",
|
85
84
|
"vue-eslint-parser": "9.4.3"
|
86
85
|
},
|
87
86
|
"devDependencies": {
|
88
|
-
"dumi": "2.
|
89
|
-
"father": "4.4.
|
87
|
+
"dumi": "2.4.6",
|
88
|
+
"father": "4.4.5",
|
90
89
|
"gh-pages": "6.1.1",
|
91
90
|
"react": "18.3.1",
|
92
91
|
"react-dom": "18.3.1",
|
93
92
|
"react-is": "18.3.1",
|
94
93
|
"styled-components": "6.1.11",
|
95
94
|
"tslib": "2.6.3",
|
96
|
-
"webpack": "5.
|
95
|
+
"webpack": "5.93.0"
|
97
96
|
},
|
98
97
|
"publishConfig": {
|
99
98
|
"access": "public",
|