@kitschpatrol/eslint-config 8.10.0 → 8.11.0

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitschpatrol/eslint-config",
3
- "version": "8.10.0",
3
+ "version": "8.11.0",
4
4
  "description": "ESLint configuration for @kitschpatrol/shared-config.",
5
5
  "keywords": [
6
6
  "shared-config",
@@ -44,7 +44,7 @@
44
44
  "dependencies": {
45
45
  "@e18e/eslint-plugin": "^0.8.1",
46
46
  "@eslint-community/eslint-plugin-eslint-comments": "^4.8.1",
47
- "@eslint-react/eslint-plugin": "^5.20.5",
47
+ "@eslint-react/eslint-plugin": "^5.21.1",
48
48
  "@html-eslint/eslint-plugin": "^0.66.1",
49
49
  "@html-eslint/parser": "^0.66.1",
50
50
  "@pinojs/json-colorizer": "^4.0.0",
@@ -52,44 +52,44 @@
52
52
  "@typescript-eslint/eslint-plugin": "^8.70.1",
53
53
  "@typescript-eslint/parser": "^8.70.1",
54
54
  "@vitest/eslint-plugin": "^1.6.27",
55
- "astro-eslint-parser": "^3.1.0",
55
+ "astro-eslint-parser": "^3.2.0",
56
56
  "cosmiconfig": "^10.0.1",
57
57
  "cosmiconfig-typescript-loader": "^6.3.0",
58
58
  "decircular": "^1.0.0",
59
59
  "deepmerge": "^4.3.1",
60
- "eslint": "~10.10.0",
60
+ "eslint": "^10.12.0",
61
61
  "eslint-config-flat-gitignore": "^2.4.0",
62
62
  "eslint-flat-config-utils": "^3.2.0",
63
63
  "eslint-import-resolver-typescript": "^4.4.5",
64
64
  "eslint-plugin-astro": "^3.2.1",
65
65
  "eslint-plugin-de-morgan": "^2.2.0",
66
66
  "eslint-plugin-depend": "^1.5.0",
67
- "eslint-plugin-html": "^8.2.0",
67
+ "eslint-plugin-html": "^8.2.1",
68
68
  "eslint-plugin-import-x": "^4.17.1",
69
- "eslint-plugin-jsdoc": "^64.5.4",
69
+ "eslint-plugin-jsdoc": "^65.1.0",
70
70
  "eslint-plugin-jsonc": "^3.4.2",
71
71
  "eslint-plugin-jsx-a11y": "^6.10.2",
72
72
  "eslint-plugin-math": "^0.13.1",
73
73
  "eslint-plugin-mdx": "^3.8.1",
74
- "eslint-plugin-n": "^18.3.0",
74
+ "eslint-plugin-n": "^18.4.1",
75
75
  "eslint-plugin-no-only-tests": "^3.4.0",
76
- "eslint-plugin-package-json": "^1.9.0",
77
- "eslint-plugin-perfectionist": "^5.11.1",
76
+ "eslint-plugin-package-json": "^1.10.1",
77
+ "eslint-plugin-perfectionist": "^5.12.1",
78
78
  "eslint-plugin-regexp": "^3.3.1",
79
79
  "eslint-plugin-svelte": "^3.23.0",
80
80
  "eslint-plugin-toml": "^1.5.0",
81
- "eslint-plugin-unicorn": "^76.0.0",
81
+ "eslint-plugin-unicorn": "^77.0.0",
82
82
  "eslint-plugin-yml": "^3.8.1",
83
83
  "execa": "^10.0.1",
84
84
  "find-workspaces": "^0.3.1",
85
- "fs-extra": "^11.4.0",
85
+ "fs-extra": "^11.4.1",
86
86
  "get-tsconfig": "^4.14.3",
87
- "globals": "^17.12.0",
87
+ "globals": "^17.13.0",
88
88
  "json-stringify-pretty-compact": "^4.0.0",
89
89
  "local-pkg": "^1.2.1",
90
90
  "package-up": "^5.0.0",
91
91
  "picocolors": "^1.1.1",
92
- "prettier": "^3.9.8",
92
+ "prettier": "^3.9.9",
93
93
  "sort-package-json": "^4.0.0",
94
94
  "svelte-eslint-parser": "^1.8.1",
95
95
  "toml-eslint-parser": "^1.0.3",
@@ -102,7 +102,7 @@
102
102
  "@types/eslint-plugin-jsx-a11y": "^6.10.1",
103
103
  "dot-prop": "^10.2.0",
104
104
  "eslint-config-prettier": "^10.1.8",
105
- "eslint-config-xo": "^4.0.0",
105
+ "eslint-config-xo": "^5.0.0",
106
106
  "eslint-typegen": "^2.3.1",
107
107
  "globby": "^16.2.4",
108
108
  "svelte": "^5.57.1"
package/readme.md CHANGED
@@ -139,7 +139,7 @@ ksc-eslint lint [files..]
139
139
  | Option | Description | Type | Default |
140
140
  | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | ---------- |
141
141
  | `--format` | Output format: "native" streams each tool's own output, "machine" prints one parseable line per issue for editor problem matchers, "json" prints an aggregate report. | `"json"` `"machine"` `"native"` | `"native"` |
142
- | `--cache` | Use tool-native caches stored below node\_modules/.cache/ksc at the workspace root. Disable with --no-cache. | `boolean` | `true` |
142
+ | `--cache` | Use tool-native caches stored below node_modules/.cache/ksc at the workspace root. Disable with --no-cache. | `boolean` | `true` |
143
143
  | `--help`<br>`-h` | Show help | `boolean` | |
144
144
  | `--version`<br>`-v` | Show version number | `boolean` | |
145
145
 
@@ -160,7 +160,7 @@ ksc-eslint fix [files..]
160
160
  | Option | Description | Type | Default |
161
161
  | ------------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------- | ------------------------------- | ---------- |
162
162
  | `--format` | Output format: "native" streams each tool's own output, "machine" prints one parseable line per issue for editor problem matchers, "json" prints an aggregate report. | `"json"` `"machine"` `"native"` | `"native"` |
163
- | `--cache` | Use tool-native caches stored below node\_modules/.cache/ksc at the workspace root. Disable with --no-cache. | `boolean` | `true` |
163
+ | `--cache` | Use tool-native caches stored below node_modules/.cache/ksc at the workspace root. Disable with --no-cache. | `boolean` | `true` |
164
164
  | `--help`<br>`-h` | Show help | `boolean` | |
165
165
  | `--version`<br>`-v` | Show version number | `boolean` | |
166
166
 
@@ -255,10 +255,6 @@ The `update-rules` script is used to manually regenerate preset rule sets when p
255
255
 
256
256
  The script requires two calls to `ksc-prettier fix` to accommodate a lack of idempotence in Prettier's handling of the resulting `typegen.d.ts` file. This surfaced a few Prettier versions ago, and the necessity of this work-around should be reevaluated periodically against future versions of Prettier.
257
257
 
258
- ### ESLint version pin
259
-
260
- ESLint is pinned to `~10.10.0`. ESLint 10.11.0 added a private rule-definition cache to its `Config` class, which breaks the config cloning in [eslint-plugin-html](https://github.com/BenoitZugmeyer/eslint-plugin-html) and crashes linting of `.html` files. Restore the caret range once [eslint-plugin-html#342](https://github.com/BenoitZugmeyer/eslint-plugin-html/issues/342) is resolved.
261
-
262
258
  ### Origins
263
259
 
264
260
  This config is a heavily modified variation on Anthony Fu's [@antfu/eslint-config](https://github.com/antfu/eslint-config). This package is a somewhat leaner approach intended to work with other tools wrapped behind a monolithic CLI instead of handling everything on its own. It mainly leverages the factory / type generation implementation from the original repo, which itself builds on Kevin Deng's [@sxzz/eslint-config](https://github.com/sxzz/eslint-config). See the [modification notes](./modification-notes.md) for more details on what's changed from Anthony's approach.