@keeex/eslint-config 2.4.0 → 2.4.2
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/package.json +11 -11
- package/src/dependencies.js +2 -3
package/package.json
CHANGED
|
@@ -16,20 +16,20 @@
|
|
|
16
16
|
},
|
|
17
17
|
"description": "Common eslint configuration",
|
|
18
18
|
"devDependencies": {
|
|
19
|
-
"@eslint/compat": "^1.2.
|
|
19
|
+
"@eslint/compat": "^1.2.7",
|
|
20
20
|
"@eslint/js": "^9.12.0",
|
|
21
|
-
"eslint": "^9.
|
|
22
|
-
"eslint-import-resolver-typescript": "^
|
|
21
|
+
"eslint": "^9.22.0",
|
|
22
|
+
"eslint-import-resolver-typescript": "^4.0.0",
|
|
23
23
|
"eslint-import-resolver-webpack": "^0.13.10",
|
|
24
|
-
"eslint-plugin-import-x": "^4.
|
|
24
|
+
"eslint-plugin-import-x": "^4.8.0",
|
|
25
25
|
"eslint-plugin-mocha": "^10.5.0",
|
|
26
26
|
"eslint-plugin-promise": "^7.2.1",
|
|
27
27
|
"eslint-plugin-react": "^7.37.4",
|
|
28
|
-
"eslint-plugin-react-hooks": "^5.
|
|
28
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
29
29
|
"eslint-plugin-tsdoc": "^0.4.0",
|
|
30
|
-
"globals": "^
|
|
31
|
-
"prettier": "^3.5.
|
|
32
|
-
"typescript-eslint": "^8.
|
|
30
|
+
"globals": "^16.0.0",
|
|
31
|
+
"prettier": "^3.5.3",
|
|
32
|
+
"typescript-eslint": "^8.26.1"
|
|
33
33
|
},
|
|
34
34
|
"exports": {
|
|
35
35
|
".": "./src/index.js",
|
|
@@ -45,7 +45,7 @@
|
|
|
45
45
|
"@eslint/compat": "^1.2.0",
|
|
46
46
|
"@eslint/js": "9.x",
|
|
47
47
|
"eslint": "9.x",
|
|
48
|
-
"eslint-import-resolver-typescript": "3.x",
|
|
48
|
+
"eslint-import-resolver-typescript": "3.X || 4.x",
|
|
49
49
|
"eslint-import-resolver-webpack": "0.x",
|
|
50
50
|
"eslint-plugin-import-x": "4.x",
|
|
51
51
|
"eslint-plugin-mocha": "10.x",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"eslint-plugin-react": "7.x",
|
|
54
54
|
"eslint-plugin-react-hooks": "5.x",
|
|
55
55
|
"eslint-plugin-tsdoc": "0.x",
|
|
56
|
-
"globals": "15.x",
|
|
56
|
+
"globals": "15.x || 16.x",
|
|
57
57
|
"prettier": "3.x",
|
|
58
58
|
"typescript-eslint": "8.x"
|
|
59
59
|
},
|
|
@@ -116,5 +116,5 @@
|
|
|
116
116
|
"test": "echo No test for this project"
|
|
117
117
|
},
|
|
118
118
|
"type": "module",
|
|
119
|
-
"version": "2.4.
|
|
119
|
+
"version": "2.4.2"
|
|
120
120
|
}
|
package/src/dependencies.js
CHANGED
|
@@ -166,10 +166,10 @@ export const installAndRemoveDeps = () => {
|
|
|
166
166
|
export const configToDependencies = (eslintConfig) => {
|
|
167
167
|
addDependency("eslint", "9.x");
|
|
168
168
|
addDependency("prettier", "3.x");
|
|
169
|
-
if (eslintConfig.globals) addDependency("globals", "
|
|
169
|
+
if (eslintConfig.globals) addDependency("globals", "16.x");
|
|
170
170
|
if (eslintConfig.import !== false) {
|
|
171
171
|
addDependency("eslint-plugin-import-x", "4.x");
|
|
172
|
-
if (eslintConfig.typescript) addDependency("eslint-import-resolver-typescript", "
|
|
172
|
+
if (eslintConfig.typescript) addDependency("eslint-import-resolver-typescript", "4.x");
|
|
173
173
|
}
|
|
174
174
|
if (eslintConfig.mocha) addDependency("eslint-plugin-mocha", "10.x");
|
|
175
175
|
if (!eslintConfig.noBase) {
|
|
@@ -182,7 +182,6 @@ export const configToDependencies = (eslintConfig) => {
|
|
|
182
182
|
if (eslintConfig.import) addDependency("eslint-import-resolver-webpack", "0.x");
|
|
183
183
|
if (react.reactHooks) addDependency("eslint-plugin-react-hooks", "5.x");
|
|
184
184
|
if (react.reactNative) {
|
|
185
|
-
addDependency("eslint-plugin-react-native", "4.x");
|
|
186
185
|
addDependency("@eslint/js", "9.x");
|
|
187
186
|
}
|
|
188
187
|
}
|