Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
152 changes: 112 additions & 40 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
"@commitlint/config-conventional": "21.2.4",
"@eslint/json": "2.1.1",
"@eslint/markdown": "8.0.3",
"@exadev/eslint-config": "2.12.3",
"@exadev/eslint-config": "3.1.0",

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Blocker [policy] — this bump breaks eslint . outright, not just with new findings. The head commit's own Lint job fails at config-load time, before any file is linted:

TypeError: Key "languageOptions": allowTrailingCommas option is only available in JSONC.
    at new Config (node_modules/eslint/lib/config/config.js:533:10)

@exadev/eslint-config 3.1.0 adds eslint-plugin-json-canonical as a new (optional) peer dependency and, from the error, now ships its own internal config block for JSON files using language: "json/jsonc" with languageOptions.allowTrailingCommas. eslint.config.ts:21-27 in this repo spreads ...exadev and then adds its own "**/*.json" block with language: "json/json" — flat-config merging keeps the leftover languageOptions.allowTrailingCommas from the exadev block while switching language to json/json, which doesn't support that option, so ESLint throws building the config array rather than reporting a lint error.

Net effect: npm run lint / npx turbo run lint exit 2 for every file, and CI's Required Checks is already red on this commit (Lint: failure). This isn't something npm run lint:fix or a rule-suppression can paper over — eslint.config.ts needs a compatible update (or this bump needs to wait) before merge, since merging as-is would leave main's lint check broken for whatever lands next.

Verified directly against this PR's own CI run (job 129908270251) rather than inferred from the diff alone.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Blocker [policy] — still open from the last two rounds: this bump still crashes eslint . at config-load time, before any file is linted. The head commit's own Lint job (131267960117) fails with the same TypeError: Key "languageOptions": allowTrailingCommas option is only available in JSONC, because @exadev/eslint-config 3.1.0's own internal JSON config block still conflicts with this repo's "**/*.json" override in eslint.config.ts:21-27. Nothing in this revision touches eslint.config.ts or the version pin, so the prior analysis stands unchanged. This needs eslint.config.ts reconciled with the new config shape (or the bump held back) before merge.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Blocker [policy] — still open: this bump still crashes eslint . at config-load time, before any file is linted. This head (8be9f49) carries the identical package.json/package-lock.json diff as the previously reviewed head (11943e1) — it's a rebase, not a content change — and CI's Lint job on this exact commit is failing again (job 131271362580). @exadev/eslint-config 3.1.0's own internal JSON config block still conflicts with this repo's "**/*.json" override in eslint.config.ts:21-27. Nothing in this revision touches eslint.config.ts or the version pin, so the prior analysis stands unchanged: this needs eslint.config.ts reconciled with the new config shape (or the bump held back) before merge.

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔴 Blocker [policy] — still open: this bump still crashes eslint . at config-load time, before any file is linted. Reconfirmed directly against this head's CI (Lint job 134129534334, run 44109108530):

TypeError: Key "languageOptions": allowTrailingCommas option is only available in JSONC.
    at new Config (node_modules/eslint/lib/config/config.js:533:10)

@exadev/eslint-config@3.1.0 now pulls in eslint-plugin-json-canonical/@eslint/json as its own (optional) peer and ships an internal JSON config block of its own. That block is colliding with this repo's own { files: ["**/*.json"], ... } override in eslint.config.ts, so the flat config array fails to build entirely — not a new lint finding, a hard crash before any rule runs. npm run lint / npx eslint . is unusable at this head regardless of what else changed in this PR. This is the same root cause flagged in rounds 5 and 6; it has not been addressed.

"@semantic-release/changelog": "7.0.0",
"@semantic-release/git": "11.0.1",
"@types/node": "26.6.6",
Expand Down
Loading