@darksheep/eslint 10.0.5 → 10.0.7

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 CHANGED
@@ -1,5 +1,28 @@
1
1
  # Changelog
2
2
 
3
+ ## [10.0.7](https://github.com/DarkSheepSoftware/eslint/compare/v10.0.6...v10.0.7) (2026-03-01)
4
+
5
+
6
+ ### 📦 Dependencies
7
+
8
+ * **pkg:** update dependency @eslint-community/eslint-plugin-eslint-comments to v4.7.0 ([#1155](https://github.com/DarkSheepSoftware/eslint/issues/1155)) ([e1190e2](https://github.com/DarkSheepSoftware/eslint/commit/e1190e2222bf603604ad3a043de9f99b7aa944d9))
9
+ * **pkg:** update dependency editorconfig to v3.0.2 ([#1154](https://github.com/DarkSheepSoftware/eslint/issues/1154)) ([a4e6ca1](https://github.com/DarkSheepSoftware/eslint/commit/a4e6ca19aabe9d600e363bcc22f32fd76ca3d807))
10
+ * **pkg:** update dependency eslint-plugin-jsdoc to v62.7.1 ([#1148](https://github.com/DarkSheepSoftware/eslint/issues/1148)) ([b84918a](https://github.com/DarkSheepSoftware/eslint/commit/b84918a4e44b9c284ef33f58fd999498b410af73))
11
+ * **pkg:** update dependency eslint-plugin-jsonc to v3 ([#1137](https://github.com/DarkSheepSoftware/eslint/issues/1137)) ([4d2e219](https://github.com/DarkSheepSoftware/eslint/commit/4d2e2197b6b3e277d7b11402d71a2655dbd84f57))
12
+ * **pkg:** update dependency eslint-plugin-jsonc to v3.1.1 ([#1151](https://github.com/DarkSheepSoftware/eslint/issues/1151)) ([bdf30ed](https://github.com/DarkSheepSoftware/eslint/commit/bdf30edcfb2c2176864ce15821fca2ed2518fdae))
13
+ * **pkg:** update dependency eslint-plugin-package-json to v0.89.2 ([#1153](https://github.com/DarkSheepSoftware/eslint/issues/1153)) ([533637b](https://github.com/DarkSheepSoftware/eslint/commit/533637b02abbfe98d7f042f8c2a0f7336e5c7dc1))
14
+ * **pkg:** update dependency eslint-plugin-yml to v3.2.2 ([#1143](https://github.com/DarkSheepSoftware/eslint/issues/1143)) ([c50cca7](https://github.com/DarkSheepSoftware/eslint/commit/c50cca791d5211ec348a7ddf4b62222d8d30e26f))
15
+ * **pkg:** update dependency eslint-plugin-yml to v3.3.0 ([#1146](https://github.com/DarkSheepSoftware/eslint/issues/1146)) ([1a5bf07](https://github.com/DarkSheepSoftware/eslint/commit/1a5bf07d0623fbc5a67ab00df9c355942d393013))
16
+ * **pkg:** update typescript-eslint monorepo to v8.56.1 ([#1147](https://github.com/DarkSheepSoftware/eslint/issues/1147)) ([2054d06](https://github.com/DarkSheepSoftware/eslint/commit/2054d060b0765b8b243a59ae8dbab4f13788bfab))
17
+
18
+ ## [10.0.6](https://github.com/DarkSheepSoftware/eslint/compare/v10.0.5...v10.0.6) (2026-02-22)
19
+
20
+
21
+ ### 📦 Dependencies
22
+
23
+ * **pkg:** update dependency eslint-plugin-package-json to v0.89.1 ([#1141](https://github.com/DarkSheepSoftware/eslint/issues/1141)) ([4683c86](https://github.com/DarkSheepSoftware/eslint/commit/4683c868df1477125c22bb071cd84b4884c6ccee))
24
+ * **pkg:** update dependency jsonc-eslint-parser to v3 ([#1135](https://github.com/DarkSheepSoftware/eslint/issues/1135)) ([044db2b](https://github.com/DarkSheepSoftware/eslint/commit/044db2bfb6e19e38eeb570965c9faf30537f73c0))
25
+
3
26
  ## [10.0.5](https://github.com/DarkSheepSoftware/eslint/compare/v10.0.4...v10.0.5) (2026-02-20)
4
27
 
5
28
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@darksheep/eslint",
3
- "version": "10.0.5",
3
+ "version": "10.0.7",
4
4
  "description": "A fairly complete (opinionated) eslint config",
5
5
  "repository": {
6
6
  "type": "git",
@@ -25,19 +25,19 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@darksheep/environment": "3.2.0",
28
- "@eslint-community/eslint-plugin-eslint-comments": "4.6.0",
28
+ "@eslint-community/eslint-plugin-eslint-comments": "4.7.0",
29
29
  "@eslint/compat": "2.0.2",
30
30
  "@eslint/js": "9.39.3",
31
31
  "@stylistic/eslint-plugin": "5.9.0",
32
- "@typescript-eslint/eslint-plugin": "8.56.0",
33
- "@typescript-eslint/parser": "8.56.0",
34
- "editorconfig": "3.0.1",
32
+ "@typescript-eslint/eslint-plugin": "8.56.1",
33
+ "@typescript-eslint/parser": "8.56.1",
34
+ "editorconfig": "3.0.2",
35
35
  "eslint-plugin-command": "3.4.0",
36
36
  "eslint-plugin-jest": "29.15.0",
37
- "eslint-plugin-jsdoc": "62.7.0",
38
- "eslint-plugin-jsonc": "2.21.1",
37
+ "eslint-plugin-jsdoc": "62.7.1",
38
+ "eslint-plugin-jsonc": "3.1.1",
39
39
  "eslint-plugin-n": "17.24.0",
40
- "eslint-plugin-package-json": "0.89.0",
40
+ "eslint-plugin-package-json": "0.89.2",
41
41
  "eslint-plugin-perfectionist": "5.6.0",
42
42
  "eslint-plugin-promise": "7.2.1",
43
43
  "eslint-plugin-react": "7.37.5",
@@ -46,15 +46,15 @@
46
46
  "eslint-plugin-security": "4.0.0",
47
47
  "eslint-plugin-unicorn": "63.0.0",
48
48
  "eslint-plugin-unused-imports": "4.4.1",
49
- "eslint-plugin-yml": "3.2.1",
50
- "jsonc-eslint-parser": "2.4.2",
49
+ "eslint-plugin-yml": "3.3.0",
50
+ "jsonc-eslint-parser": "3.1.0",
51
51
  "yaml-eslint-parser": "2.0.0"
52
52
  },
53
53
  "devDependencies": {
54
54
  "@darksheep/eslint-formatter-github": "2.2.0",
55
55
  "@darksheep/package.json": "~3.1.0",
56
56
  "@eslint/config-inspector": "~1.4.0",
57
- "@types/node": "~24.10.0",
57
+ "@types/node": "~24.11.0",
58
58
  "eslint": "~9.39.0",
59
59
  "typescript": "~5.9.0"
60
60
  },
@@ -71,7 +71,7 @@
71
71
  "node": "^20.13.1 || >=22.2.0"
72
72
  },
73
73
  "volta": {
74
- "node": "24.13.1",
74
+ "node": "24.14.0",
75
75
  "yarn": "4.12.0"
76
76
  }
77
77
  }
@@ -4,12 +4,12 @@
4
4
 
5
5
  import { ok } from 'node:assert';
6
6
 
7
- import jsonc from 'eslint-plugin-jsonc';
7
+ import * as jsonc from 'eslint-plugin-jsonc';
8
8
  import * as parser from 'jsonc-eslint-parser';
9
9
 
10
- const jsonRules = jsonc.configs['recommended-with-json'].rules;
11
- const jsoncRules = jsonc.configs['recommended-with-jsonc'].rules;
12
- const json5Rules = jsonc.configs['recommended-with-json5'].rules;
10
+ const jsonRules = jsonc.configs['recommended-with-json']?.at(-1)?.rules;
11
+ const jsoncRules = jsonc.configs['recommended-with-jsonc']?.at(-1)?.rules;
12
+ const json5Rules = jsonc.configs['recommended-with-json5']?.at(-1)?.rules;
13
13
 
14
14
  /**
15
15
  * Get ESLint config for imports check.
@@ -25,6 +25,7 @@ export async function createEslintJsonConfig() {
25
25
  name: 'json/core',
26
26
  files: [ '**/*.json', '**/*.jsonc', '**/*.json5' ],
27
27
  languageOptions: { parser },
28
+ // @ts-expect-error -- This used to work >,<
28
29
  plugins: { jsonc },
29
30
  rules: {
30
31
  'jsonc/auto': 'off',
@@ -2,6 +2,7 @@
2
2
  * @import { URL } from 'node:url';
3
3
  * @import { Linter } from 'eslint';
4
4
  */
5
+
5
6
  import {
6
7
  getCommonFiles,
7
8
  getModuleFiles,