@umijs/lint 4.2.12 → 4.2.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.
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/**
|
|
2
|
-
*
|
|
2
|
+
* legacy enabled/disabled rules from @umijs/fabric tsEslintConfig
|
|
3
3
|
* @see https://github.com/umijs/fabric/blob/master/src/tsEslintConfig.ts
|
|
4
4
|
*/
|
|
5
5
|
export declare const typescript: {
|
|
@@ -68,7 +68,7 @@ export declare const typescript: {
|
|
|
68
68
|
'@typescript-eslint/unified-signatures': number;
|
|
69
69
|
};
|
|
70
70
|
/**
|
|
71
|
-
*
|
|
71
|
+
* legacy enabled/disabled rules from @umijs/fabric
|
|
72
72
|
* @see https://github.com/umijs/fabric/blob/master/src/eslint.ts#L54
|
|
73
73
|
*/
|
|
74
74
|
declare const _default: {
|
|
@@ -98,7 +98,7 @@ var fabric_default = {
|
|
|
98
98
|
"react/prop-types": 0,
|
|
99
99
|
"react/react-in-jsx-scope": 0,
|
|
100
100
|
"react/self-closing-comp": 1,
|
|
101
|
-
// eslint-
|
|
101
|
+
// eslint-plugin-react-hooks rules
|
|
102
102
|
"react-hooks/exhaustive-deps": 1,
|
|
103
103
|
"react-hooks/rules-of-hooks": 2
|
|
104
104
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@umijs/lint",
|
|
3
|
-
"version": "4.2.
|
|
3
|
+
"version": "4.2.14",
|
|
4
4
|
"description": "@umijs/lint",
|
|
5
5
|
"homepage": "https://github.com/umijs/umi/tree/master/packages/lint#readme",
|
|
6
6
|
"bugs": "https://github.com/umijs/umi/issues",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
"postcss": "^8.4.21",
|
|
28
28
|
"postcss-syntax": "0.36.2",
|
|
29
29
|
"stylelint-config-standard": "25.0.0",
|
|
30
|
-
"@umijs/babel-preset-umi": "4.2.
|
|
30
|
+
"@umijs/babel-preset-umi": "4.2.14"
|
|
31
31
|
},
|
|
32
32
|
"devDependencies": {
|
|
33
33
|
"@rushstack/eslint-patch": "1.1.2",
|