exadev-eslint-config 2.23.0 → 2.23.1
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/README.md +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/package.json +5 -1
package/README.md
CHANGED
|
@@ -282,7 +282,7 @@ This exists for a project that wants real `package.json` canonicalization withou
|
|
|
282
282
|
| `false` | Force off — always `[]`, no resolution attempted |
|
|
283
283
|
| `undefined` / omitted | Auto-detect (the default): on unless the project already has a syncpack config (a `.syncpackrc*`/`syncpack.config.*` file, or a `"syncpack"` key in its own `package.json`), since syncpack already produces this exact order for free |
|
|
284
284
|
|
|
285
|
-
Like React/Next.js support, this needs its own optional peer resolvable — `pnpm add -D @eslint/json` — and, unlike them, also needs its `json/json` language registered for the file (this option's own config block does that for you; nothing extra to wire up).
|
|
285
|
+
Like React/Next.js support, this needs its own optional peer resolvable — `@eslint/json` is declared in `peerDependenciesMeta` as optional, so install it in your project with `pnpm add -D @eslint/json` — and, unlike them, also needs its `json/json` language registered for the file (this option's own config block does that for you; nothing extra to wire up).
|
|
286
286
|
|
|
287
287
|
Bundled into `exadevConfig()`'s default output the same way React/Next.js auto-detection is — `packageJsonKeyOrder: true`/`false` only forces the tri-state explicitly, it isn't the only way to reach it. Not part of `plugin.configs.recommended`, and not available as a `plugin.configs.packageJsonKeyOrder` explicit-tier config the way `.react`/`.nextjs` are, since wiring it through `plugin.configs` would need `plugin.ts` and this option's own config builder to import each other.
|
|
288
288
|
|
|
@@ -365,7 +365,7 @@ export default defineConfig(
|
|
|
365
365
|
);
|
|
366
366
|
```
|
|
367
367
|
|
|
368
|
-
Both entry points need `@eslint/json` resolvable (`pnpm add -D @eslint/json`), the same optional peer [package.json key ordering](#optional-packagejson-key-ordering) uses; unlike that feature, workspace architecture has no tri-state auto-detection at all, since there is nothing to detect it against, only whether the option was given.
|
|
368
|
+
Both entry points need `@eslint/json` resolvable (an optional peer dependency of this package: `pnpm add -D @eslint/json` in your project), the same optional peer [package.json key ordering](#optional-packagejson-key-ordering) uses; unlike that feature, workspace architecture has no tri-state auto-detection at all, since there is nothing to detect it against, only whether the option was given.
|
|
369
369
|
|
|
370
370
|
### Options
|
|
371
371
|
|
package/dist/index.cjs
CHANGED
package/dist/index.js
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "exadev-eslint-config",
|
|
3
3
|
"description": "Shared custom ESLint rules and plugin for ExaDev projects",
|
|
4
|
-
"version": "2.23.
|
|
4
|
+
"version": "2.23.1",
|
|
5
5
|
"dependencies": {
|
|
6
6
|
"@eslint/js": "^10.0.1",
|
|
7
7
|
"@microsoft/tsdoc": "0.17.0",
|
|
@@ -68,6 +68,7 @@
|
|
|
68
68
|
"main": "./dist/index.cjs",
|
|
69
69
|
"module": "./dist/index.js",
|
|
70
70
|
"peerDependencies": {
|
|
71
|
+
"@eslint/json": "^2.1.0",
|
|
71
72
|
"@next/eslint-plugin-next": "^16.3.2",
|
|
72
73
|
"eslint": ">=10.0.0",
|
|
73
74
|
"eslint-plugin-jsx-a11y": "^6.10.2",
|
|
@@ -77,6 +78,9 @@
|
|
|
77
78
|
"typescript-eslint": ">=8.0.0"
|
|
78
79
|
},
|
|
79
80
|
"peerDependenciesMeta": {
|
|
81
|
+
"@eslint/json": {
|
|
82
|
+
"optional": true
|
|
83
|
+
},
|
|
80
84
|
"@next/eslint-plugin-next": {
|
|
81
85
|
"optional": true
|
|
82
86
|
},
|