@darksheep/eslint 10.0.1 → 10.0.3
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/CHANGELOG.md +27 -0
- package/package.json +14 -14
- package/src/plugins/typescript.js +15 -2
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,32 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [10.0.3](https://github.com/DarkSheepSoftware/eslint/compare/v10.0.2...v10.0.3) (2025-12-07)
|
|
4
|
+
|
|
5
|
+
|
|
6
|
+
### 📦 Dependencies
|
|
7
|
+
|
|
8
|
+
* **pkg:** update dependency eslint-plugin-jsdoc to v61.5.0 ([#1093](https://github.com/DarkSheepSoftware/eslint/issues/1093)) ([ac1dddb](https://github.com/DarkSheepSoftware/eslint/commit/ac1dddb750d4d92d17e3c4d84c3903818790b716))
|
|
9
|
+
* **pkg:** update dependency jsonc-eslint-parser to v2.4.2 ([#1094](https://github.com/DarkSheepSoftware/eslint/issues/1094)) ([4bf383a](https://github.com/DarkSheepSoftware/eslint/commit/4bf383a1459c9b7c93f30bead4b6baa441b3c861))
|
|
10
|
+
* **pkg:** update dependency yaml-eslint-parser to v1.3.2 ([#1092](https://github.com/DarkSheepSoftware/eslint/issues/1092)) ([d432bb7](https://github.com/DarkSheepSoftware/eslint/commit/d432bb7275bb50c41ad766831f5268a74b5e485e))
|
|
11
|
+
|
|
12
|
+
## [10.0.2](https://github.com/DarkSheepSoftware/eslint/compare/v10.0.1...v10.0.2) (2025-12-04)
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
### 🩹 Fixes
|
|
16
|
+
|
|
17
|
+
* better import management in js files ([#1090](https://github.com/DarkSheepSoftware/eslint/issues/1090)) ([f0de9e8](https://github.com/DarkSheepSoftware/eslint/commit/f0de9e863fba2b8ca47bdbd8a99a2130719b4ab9))
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
### 📦 Dependencies
|
|
21
|
+
|
|
22
|
+
* **pkg:** update dependency @eslint/compat to v2 ([#1081](https://github.com/DarkSheepSoftware/eslint/issues/1081)) ([80a04f4](https://github.com/DarkSheepSoftware/eslint/commit/80a04f4c2561627575d82b9bdb5015e317c895e1))
|
|
23
|
+
* **pkg:** update dependency @stylistic/eslint-plugin to v5.6.1 ([#1084](https://github.com/DarkSheepSoftware/eslint/issues/1084)) ([c1d56b3](https://github.com/DarkSheepSoftware/eslint/commit/c1d56b35a874b71f7353a31cbb32baeb2568dc5b))
|
|
24
|
+
* **pkg:** update dependency eslint-plugin-jest to v29.2.1 ([#1087](https://github.com/DarkSheepSoftware/eslint/issues/1087)) ([6c14d69](https://github.com/DarkSheepSoftware/eslint/commit/6c14d69f74a013f22a341c4da7bfe31f642ef20d))
|
|
25
|
+
* **pkg:** update dependency eslint-plugin-jsdoc to v61.4.1 ([#1080](https://github.com/DarkSheepSoftware/eslint/issues/1080)) ([b5e1e68](https://github.com/DarkSheepSoftware/eslint/commit/b5e1e68941d9a3b295a04e87be2b51896bdc357b))
|
|
26
|
+
* **pkg:** update dependency eslint-plugin-package-json to v0.85.0 ([#1079](https://github.com/DarkSheepSoftware/eslint/issues/1079)) ([df78801](https://github.com/DarkSheepSoftware/eslint/commit/df7880171c9ebe197707c6035a4d032e732d5881))
|
|
27
|
+
* **pkg:** update dependency yaml-eslint-parser to v1.3.1 ([#1089](https://github.com/DarkSheepSoftware/eslint/issues/1089)) ([7007275](https://github.com/DarkSheepSoftware/eslint/commit/7007275e569b2e46133c04f95aa27dcb6312a883))
|
|
28
|
+
* **pkg:** update typescript-eslint monorepo to v8.48.1 ([#1083](https://github.com/DarkSheepSoftware/eslint/issues/1083)) ([51fceb9](https://github.com/DarkSheepSoftware/eslint/commit/51fceb9443a31f5b6666d0f8f70b709e1e9ef06a))
|
|
29
|
+
|
|
3
30
|
## [10.0.1](https://github.com/DarkSheepSoftware/eslint/compare/v10.0.0...v10.0.1) (2025-11-11)
|
|
4
31
|
|
|
5
32
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@darksheep/eslint",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.3",
|
|
4
4
|
"description": "A fairly complete (opinionated) eslint config",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -26,18 +26,18 @@
|
|
|
26
26
|
"dependencies": {
|
|
27
27
|
"@darksheep/environment": "3.2.0",
|
|
28
28
|
"@eslint-community/eslint-plugin-eslint-comments": "4.5.0",
|
|
29
|
-
"@eslint/compat": "
|
|
29
|
+
"@eslint/compat": "2.0.0",
|
|
30
30
|
"@eslint/js": "9.39.1",
|
|
31
|
-
"@stylistic/eslint-plugin": "5.
|
|
32
|
-
"@typescript-eslint/eslint-plugin": "8.
|
|
33
|
-
"@typescript-eslint/parser": "8.
|
|
31
|
+
"@stylistic/eslint-plugin": "5.6.1",
|
|
32
|
+
"@typescript-eslint/eslint-plugin": "8.48.1",
|
|
33
|
+
"@typescript-eslint/parser": "8.48.1",
|
|
34
34
|
"editorconfig": "3.0.1",
|
|
35
35
|
"eslint-plugin-command": "3.3.1",
|
|
36
|
-
"eslint-plugin-jest": "29.1
|
|
37
|
-
"eslint-plugin-jsdoc": "61.
|
|
36
|
+
"eslint-plugin-jest": "29.2.1",
|
|
37
|
+
"eslint-plugin-jsdoc": "61.5.0",
|
|
38
38
|
"eslint-plugin-jsonc": "2.21.0",
|
|
39
39
|
"eslint-plugin-n": "17.23.1",
|
|
40
|
-
"eslint-plugin-package-json": "0.
|
|
40
|
+
"eslint-plugin-package-json": "0.85.0",
|
|
41
41
|
"eslint-plugin-perfectionist": "4.15.1",
|
|
42
42
|
"eslint-plugin-promise": "7.2.1",
|
|
43
43
|
"eslint-plugin-react": "7.37.5",
|
|
@@ -47,13 +47,13 @@
|
|
|
47
47
|
"eslint-plugin-unicorn": "62.0.0",
|
|
48
48
|
"eslint-plugin-unused-imports": "4.3.0",
|
|
49
49
|
"eslint-plugin-yml": "1.19.0",
|
|
50
|
-
"jsonc-eslint-parser": "2.4.
|
|
51
|
-
"yaml-eslint-parser": "1.3.
|
|
50
|
+
"jsonc-eslint-parser": "2.4.2",
|
|
51
|
+
"yaml-eslint-parser": "1.3.2"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
54
|
"@darksheep/eslint-formatter-github": "2.2.0",
|
|
55
55
|
"@darksheep/package.json": "~3.1.0",
|
|
56
|
-
"@eslint/config-inspector": "~1.
|
|
56
|
+
"@eslint/config-inspector": "~1.4.0",
|
|
57
57
|
"@types/node": "~24.10.0",
|
|
58
58
|
"eslint": "~9.39.0",
|
|
59
59
|
"typescript": "~5.9.0"
|
|
@@ -66,12 +66,12 @@
|
|
|
66
66
|
"optional": true
|
|
67
67
|
}
|
|
68
68
|
},
|
|
69
|
-
"packageManager": "yarn@4.
|
|
69
|
+
"packageManager": "yarn@4.12.0",
|
|
70
70
|
"engines": {
|
|
71
71
|
"node": "^20.13.1 || >=22.2.0"
|
|
72
72
|
},
|
|
73
73
|
"volta": {
|
|
74
|
-
"node": "24.11.
|
|
75
|
-
"yarn": "4.
|
|
74
|
+
"node": "24.11.1",
|
|
75
|
+
"yarn": "4.12.0"
|
|
76
76
|
}
|
|
77
77
|
}
|
|
@@ -93,7 +93,6 @@ export async function createEslintTypescriptConfig(root) {
|
|
|
93
93
|
'@typescript-eslint/no-this-alias': 'error',
|
|
94
94
|
'@typescript-eslint/no-unnecessary-type-constraint': 'error',
|
|
95
95
|
'@typescript-eslint/no-unsafe-declaration-merging': 'error',
|
|
96
|
-
'@typescript-eslint/no-require-imports': 'error',
|
|
97
96
|
'@typescript-eslint/prefer-as-const': 'error',
|
|
98
97
|
'@typescript-eslint/triple-slash-reference': 'error',
|
|
99
98
|
|
|
@@ -154,7 +153,20 @@ export async function createEslintTypescriptConfig(root) {
|
|
|
154
153
|
'@typescript-eslint/typedef': 'off',
|
|
155
154
|
'@typescript-eslint/unbound-method': 'off',
|
|
156
155
|
'@typescript-eslint/unified-signatures': [ 'warn', { ignoreDifferentlyNamedParameters: true } ],
|
|
157
|
-
|
|
156
|
+
},
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
name: 'typescript/cjs',
|
|
160
|
+
files: await getCommonFiles(root),
|
|
161
|
+
rules: {
|
|
162
|
+
'@typescript-eslint/no-require-imports': 'off',
|
|
163
|
+
},
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
name: 'typescript/mjs',
|
|
167
|
+
files: await getModuleFiles(root),
|
|
168
|
+
rules: {
|
|
169
|
+
'@typescript-eslint/no-require-imports': 'error',
|
|
158
170
|
},
|
|
159
171
|
},
|
|
160
172
|
{
|
|
@@ -166,6 +178,7 @@ export async function createEslintTypescriptConfig(root) {
|
|
|
166
178
|
fixStyle: 'inline-type-imports',
|
|
167
179
|
prefer: 'type-imports',
|
|
168
180
|
} ],
|
|
181
|
+
'@typescript-eslint/use-unknown-in-catch-callback-variable': 'error',
|
|
169
182
|
},
|
|
170
183
|
},
|
|
171
184
|
];
|