Skip to content
Merged
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
17 changes: 17 additions & 0 deletions .changeset/dependency-refresh-eslint-9-line.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
---
"@gaia-react/lint": minor
---

Refresh every bundled plugin that still supports the ESLint 9 line. No config authored here changes; the new rules arrive through `recommended` presets this config spreads.

Twelve rules land at error severity that were not enabled before. Eleven come from `eslint-plugin-sonarjs` 4.1.0 → 4.2.0, whose `recommended` preset `guardrails` spreads wholesale: `assertions-in-test-cases`, `explicit-test-skip`, `memoize-cache-key`, `no-debug-commands-in-ui-tests`, `no-default-utility-imports`, `no-fixed-wait-in-tests`, `no-interpolation-in-inline-snapshots`, `no-mixed-completion-style`, `parameterized-tests`, `prefer-native-lodash-alternative`, and `synchronous-suite-callback`. The twelfth is `playwright/no-unnecessary-assertions`, added to `flat/recommended` in `eslint-plugin-playwright` 2.11.0 and therefore live under `.playwright/`. Despite the test-flavored names, the SonarJS rules ship in the base `recommended` set rather than a test-scoped one, so they resolve for every linted file, not only specs.

`eslint-config-airbnb-extended` 3.1.0 → 3.2.0 only relaxes: `drizzle.config.*` joins the `import-x/no-extraneous-dependencies` devDependencies allowlist, so a Drizzle config importing a devDependency stops erroring.

Consumers will see new lint errors on upgrade, though the count should be small and concentrated in test files; none of the twelve is auto-fixable, so each needs a real edit or a deliberate suppression. Measured against GAIA's own tree, the whole set produced three findings, all `sonarjs/parameterized-tests` flagging adjacent tests that differ only by input.

Also refreshed, with no effective rule change: `@eslint/config-helpers`, `@vitest/eslint-plugin`, `eslint-plugin-better-tailwindcss`, `eslint-plugin-check-file`, `eslint-plugin-jest-dom`, `eslint-plugin-perfectionist`, `eslint-plugin-prefer-arrow-functions`, `eslint-plugin-storybook`, and `prettier-plugin-tailwindcss`.

`eslint-plugin-storybook` 10.4.6 → 10.5.7 tightens its own peer on `storybook` to `^10.5.7`. A project on an earlier Storybook 10.5.x will see an unmet-peer warning until it bumps; the plugin's rules work regardless, and the warning is not fatal unless `strictPeerDependencies` is on.

ESLint stays on the 9 line. `eslint` 10, `@eslint/js` 10, and `eslint-plugin-unicorn` 73 (which peers `eslint >=10.4`) all require widening the `eslint` peer range, so they belong to a major release rather than this one. TypeScript 7 is blocked independently: `typescript-eslint` 8.x peers `typescript <6.1.0`.
34 changes: 17 additions & 17 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -55,27 +55,27 @@
},
"dependencies": {
"@eslint-community/eslint-plugin-eslint-comments": "4.7.2",
"@eslint/config-helpers": "0.6.0",
"@eslint/config-helpers": "0.7.0",
"@eslint/js": "9.39.4",
"@vitest/eslint-plugin": "1.6.20",
"eslint-config-airbnb-extended": "3.1.0",
"@vitest/eslint-plugin": "1.6.27",
"eslint-config-airbnb-extended": "3.2.0",
"eslint-config-prettier": "10.1.8",
"eslint-plugin-better-tailwindcss": "4.6.0",
"eslint-plugin-better-tailwindcss": "4.7.0",
"eslint-plugin-canonical": "5.1.3",
"eslint-plugin-check-file": "3.3.1",
"eslint-plugin-jest-dom": "5.5.0",
"eslint-plugin-check-file": "3.3.2",
"eslint-plugin-jest-dom": "5.10.1",
"eslint-plugin-no-relative-import-paths": "1.6.1",
"eslint-plugin-perfectionist": "5.9.1",
"eslint-plugin-playwright": "2.10.4",
"eslint-plugin-prefer-arrow-functions": "3.9.1",
"eslint-plugin-perfectionist": "5.10.1",
"eslint-plugin-playwright": "2.11.0",
"eslint-plugin-prefer-arrow-functions": "3.10.2",
"eslint-plugin-prettier": "5.5.6",
"eslint-plugin-sonarjs": "4.1.0",
"eslint-plugin-storybook": "10.4.6",
"eslint-plugin-sonarjs": "4.2.0",
"eslint-plugin-storybook": "10.5.7",
"eslint-plugin-testing-library": "7.16.2",
"eslint-plugin-unicorn": "65.0.1",
"eslint-plugin-unused-imports": "4.4.1",
"eslint-plugin-you-dont-need-lodash-underscore": "6.14.0",
"prettier-plugin-tailwindcss": "0.8.0",
"prettier-plugin-tailwindcss": "0.8.1",
"stylelint-config-clean-order": "10.0.0",
"stylelint-config-standard": "40.0.0",
"stylelint-config-tailwindcss": "1.0.1",
Expand All @@ -84,12 +84,12 @@
"devDependencies": {
"@changesets/changelog-github": "^0.7.0",
"@changesets/cli": "^2.31.0",
"@types/node": "^25.9.3",
"eslint": "^9.39.0",
"tsup": "^8.0.0",
"@types/node": "^26.2.0",
"eslint": "^9.39.5",
"tsup": "^8.5.1",
"typescript": "^6.0.0",
"typescript-eslint": "^8.62.0",
"vitest": "^4.1.9"
"typescript-eslint": "^8.67.0",
"vitest": "^4.1.10"
},
"author": "Steven Sacks <stevensacks@gmail.com>",
"license": "MIT",
Expand Down
Loading