Skip to content

chore(deps): update eslint monorepo to v10 (#8480) - #5168

Merged
Guillaume (guillaumejparis) merged 7 commits into
mainfrom
renovate/major-eslint-monorepo
Oct 15, 2026
Merged

Guillaume (guillaumejparis) merged 7 commits into
mainfrom
renovate/major-eslint-monorepo

Conversation

@renovate

@renovate renovate Bot commented Mar 18, 2026 •

Copy link
Copy Markdown
Contributor

This PR contains the following updates:

Package Change Age Confidence
@eslint/js (source) 9.39.5 → 10.0.1 age confidence
eslint (source) 9.39.5 → 10.12.0 age confidence

Release Notes

eslint/eslint (@​eslint/js)

v10.0.1

Compare Source

Bug Fixes

Documentation

  • 5b3dbce docs: add AI acknowledgement section to templates (#​20431) (루밀LuMir)
  • 6f23076 docs: toggle nav in no-JS mode (#​20476) (Tanuj Kanti)
  • b69cfb3 docs: Update README (GitHub Actions Bot)

Chores

v10.0.0

Compare Source

Breaking Changes

  • f9e54f4 feat!: estimate rule-tester failure location (#​20420) (ST-DDT)
  • a176319 feat!: replace chalk with styleText and add color to ResultsMeta (#​20227) (루밀LuMir)
  • c7046e6 feat!: enable JSX reference tracking (#​20152) (Pixel998)
  • fa31a60 feat!: add name to configs (#​20015) (Kirk Waiblinger)
  • 3383e7e fix!: remove deprecated SourceCode methods (#​20137) (Pixel998)
  • 501abd0 feat!: update dependency minimatch to v10 (#​20246) (renovate[bot])
  • ca4d3b4 fix!: stricter rule tester assertions for valid test cases (#​20125) (唯然)
  • 96512a6 fix!: Remove deprecated rule context methods (#​20086) (Nicholas C. Zakas)
  • c69fdac feat!: remove eslintrc support (#​20037) (Francesco Trotta)
  • 208b5cc feat!: Use ScopeManager#addGlobals() (#​20132) (Milos Djermanovic)
  • a2ee188 fix!: add uniqueItems: true in no-invalid-regexp option (#​20155) (Tanuj Kanti)
  • a89059d feat!: Program range span entire source text (#​20133) (Pixel998)
  • 39a6424 fix!: assert 'text' is a string across all RuleFixer methods (#​20082) (Pixel998)
  • f28fbf8 fix!: Deprecate "always" and "as-needed" options of the radix rule (#​20223) (Milos Djermanovic)
  • aa3fb2b fix!: tighten func-names schema (#​20119) (Pixel998)
  • f6c0ed0 feat!: report eslint-env comments as errors (#​20128) (Francesco Trotta)
  • 4bf739f fix!: remove deprecated LintMessage#nodeType and TestCaseError#type (#​20096) (Pixel998)
  • 523c076 feat!: drop support for jiti < 2.2.0 (#​20016) (michael faith)
  • 454a292 feat!: update eslint:recommended configuration (#​20210) (Pixel998)
  • 4f880ee feat!: remove v10_* and inactive unstable_* flags (#​20225) (sethamus)
  • f18115c feat!: no-shadow-restricted-names report globalThis by default (#​20027) (sethamus)
  • c6358c3 feat!: Require Node.js ^20.19.0 || ^22.13.0 || >=24 (#​20160) (Milos Djermanovic)

Features

  • bff9091 feat: handle Array.fromAsync in array-callback-return (#​20457) (Francesco Trotta)
  • 290c594 feat: add self to no-implied-eval rule (#​20468) (sethamus)
  • 43677de feat: fix handling of function and class expression names in no-shadow (#​20432) (Milos Djermanovic)
  • f0cafe5 feat: rule tester add assertion option requireData (#​20409) (fnx)
  • f7ab693 feat: output RuleTester test case failure index (#​19976) (ST-DDT)
  • 7cbcbf9 feat: add countThis option to max-params (#​20236) (Gerkin)
  • f148a5e feat: add error assertion options (#​20247) (ST-DDT)
  • 09e6654 feat: update error loc of require-yield and no-useless-constructor (#​20267) (Tanuj Kanti)

Bug Fixes

  • 436b82f fix: update eslint (#​20473) (renovate[bot])
  • 1d29d22 fix: detect default this binding in Array.fromAsync callbacks (#​20456) (Francesco Trotta)
  • 727451e fix: fix regression of global mode report range in strict rule (#​20462) (ntnyq)
  • e80485f fix: remove fake FlatESLint and LegacyESLint exports (#​20460) (Francesco Trotta)
  • 9eeff3b fix: update esquery (#​20423) (cryptnix)
  • b34b938 fix: use Error.prepareStackTrace to estimate failing test location (#​20436) (Francesco Trotta)
  • 51aab53 fix: update eslint (#​20443) (renovate[bot])
  • 23490b2 fix: handle space before colon in RuleTester location estimation (#​20433) (Francesco Trotta)
  • f244dbf fix: use MessagePlaceholderData type from @eslint/core (#​20348) (루밀LuMir)
  • d186f8c fix: update eslint (#​20427) (renovate[bot])
  • 2332262 fix: error location should not modify error message in RuleTester (#​20421) (Milos Djermanovic)
  • ab99b21 fix: ensure filename is passed as third argument to verifyAndFix() (#​20405) (루밀LuMir)
  • 8a60f3b fix: remove ecmaVersion and sourceType from ParserOptions type (#​20415) (Pixel998)
  • eafd727 fix: remove TDZ scope type (#​20231) (jaymarvelz)
  • 39d1f51 fix: correct Scope typings (#​20404) (sethamus)
  • 2bd0f13 fix: update verify and verifyAndFix types (#​20384) (Francesco Trotta)
  • ba6ebfa fix: correct typings for loadESLint() and shouldUseFlatConfig() (#​20393) (루밀LuMir)
  • e7673ae fix: correct RuleTester typings (#​20105) (Pixel998)
  • 53e9522 fix: strict removed formatters check (#​20241) (ntnyq)
  • b017f09 fix: correct no-restricted-import messages (#​20374) (Francesco Trotta)

Documentation

  • e978dda docs: Update README (GitHub Actions Bot)
  • 4cecf83 docs: Update README (GitHub Actions Bot)
  • c79f0ab docs: Update README (GitHub Actions Bot)
  • 773c052 docs: Update README (GitHub Actions Bot)
  • f2962e4 docs: document meta.docs.frozen property (#​20475) (Pixel998)
  • 8e94f58 docs: fix broken anchor links from gerund heading updates (#​20449) (Copilot)
  • 1495654 docs: Update README (GitHub Actions Bot)
  • 0b8ed5c docs: document support for :is selector alias (#​20454) (sethamus)
  • 1c4b33f docs: Document policies about ESM-only dependencies (#​20448) (Milos Djermanovic)
  • 3e5d38c docs: add missing indentation space in rule example (#​20446) (fnx)
  • 63a0c7c docs: Update README (GitHub Actions Bot)
  • 65ed0c9 docs: Update README (GitHub Actions Bot)
  • b0e4717 docs: [no-await-in-loop] Expand inapplicability (#​20363) (Niklas Hambüchen)
  • fca421f docs: Update README (GitHub Actions Bot)
  • d925c54 docs: update config syntax in no-lone-blocks (#​20413) (Pixel998)
  • 7d5c95f docs: remove redundant sourceType: "module" from rule examples (#​20412) (Pixel998)
  • 02e7e71 docs: correct .mts glob pattern in files with extensions example (#​20403) (Ali Essalihi)
  • 264b981 docs: Update README (GitHub Actions Bot)
  • 5a4324f docs: clarify "local" option of no-unused-vars (#​20385) (Milos Djermanovic)
  • e593aa0 docs: improve clarity, grammar, and wording in documentation site README (#​20370) (Aditya)
  • 3f5062e docs: Add messages property to rule meta documentation (#​20361) (Sabya Sachi)
  • 9e5a5c2 docs: remove Examples headings from rule docs (#​20364) (Milos Djermanovic)
  • 194f488 docs: Update README (GitHub Actions Bot)
  • 0f5a94a docs: [class-methods-use-this] explain purpose of rule (#​20008) (Kirk Waiblinger)
  • df5566f docs: add Options section to all rule docs (#​20296) (sethamus)
  • adf7a2b docs: no-unsafe-finally note for generator functions (#​20330) (Tom Pereira)
  • ef7028c docs: Update README (GitHub Actions Bot)
  • fbae5d1 docs: consistently use "v10.0.0" in migration guide (#​20328) (Pixel998)
  • 778aa2d docs: ignoring default file patterns (#​20312) (Tanuj Kanti)
  • 4b5dbcd docs: reorder v10 migration guide (#​20315) (Milos Djermanovic)
  • 5d84a73 docs: Update README (GitHub Actions Bot)
  • 37c8863 docs: fix incorrect anchor link in v10 migration guide (#​20299) (Pixel998)
  • 077ff02 docs: add migrate-to-10.0.0 doc (#​20143) (唯然)
  • 3822e1b docs: Update README (GitHub Actions Bot)

Build Related

  • 9f08712 Build: changelog update for 10.0.0-rc.2 (Jenkins)
  • 1e2c449 Build: changelog update for 10.0.0-rc.1 (Jenkins)
  • c4c72a8 Build: changelog update for 10.0.0-rc.0 (Jenkins)
  • 7e4daf9 Build: changelog update for 10.0.0-beta.0 (Jenkins)
  • a126a2a build: add .scss files entry to knip (#​20389) (Francesco Trotta)
  • f5c0193 Build: changelog update for 10.0.0-alpha.1 (Jenkins)
  • 165326f Build: changelog update for 10.0.0-alpha.0 (Jenkins)

Chores


Configuration

📅 Schedule: (in timezone Europe/Paris)

  • Branch creation
    • At 12:00 AM through 04:59 AM and 10:00 PM through 11:59 PM, Monday through Friday (* 0-4,22-23 * * 1-5)
    • Only on Sunday and Saturday (* * * * 0,6)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about these updates again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.


Changes on top of the Renovate bump

  • da4d841397 pin settings.react.version to '19.3' instead of 'detect': detect calls context.getFilename(), which ESLint 10 removed, so every eslint-plugin-react rule would crash (ESLint v10 compatibility jsx-eslint/eslint-plugin-react#3977). Same temporary workaround as OpenCTI; the value must follow the installed React version. The eslint-plugin-import rules in use do not hit Compatibility with ESLint 10 import-js/eslint-plugin-import#3227.
  • 5d28599bcd drop dead initial assignments flagged by no-useless-assignment (new in js.configs.recommended), behaviour unchanged; the select choices in InjectContentFieldComponent get an explicit Item[] type.
  • 0a64c855af flat config in the classes-rule RuleTester, which only accepts flat config on ESLint 10.

Verification: yarn lint, yarn check-ts, yarn check-licenses, yarn i18n-checker, the Vitest suite and the custom-rules tests pass. On the same source, ESLint 10 reports exactly the ESLint 9 findings plus the 6 no-useless-assignment ones, both with the real config and with every non-deprecated eslint-plugin-react and eslint-plugin-import rule turned on (105,974 vs 105,980 findings).

The branch carries non-Renovate commits, so do not tick the rebase checkbox: it would drop them.

Related #8480

🤖 Generated with Claude Code

@renovate renovate Bot added dependencies Pull requests that update a dependency file. filigran team Item from the Filigran team. labels Mar 18, 2026
@guillaumejparis

Copy link
Copy Markdown
Member

wait for jsx-eslint/eslint-plugin-react#3979

@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch 2 times, most recently from fe00d71 to 316a499 Compare March 23, 2026 22:14
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch 4 times, most recently from 4eb1426 to 91f619d Compare April 2, 2026 20:08
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch 3 times, most recently from 206ef91 to 9f52a1f Compare April 13, 2026 21:47
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch from 9f52a1f to ace09c7 Compare April 20, 2026 23:31
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch 2 times, most recently from 5c7c9e3 to 7ba9e0f Compare May 4, 2026 22:58
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch from 7ba9e0f to 3e9e19b Compare May 12, 2026 20:35
@renovate renovate Bot changed the title [frontend] chore(deps): update eslint monorepo to v10 (major) [frontend] chore(deps): update eslint monorepo to v10 May 12, 2026
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch 3 times, most recently from 2091d48 to 64b9c6a Compare May 19, 2026 20:36
@renovate
renovate Bot changed the base branch from master to main May 19, 2026 20:36
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch from 64b9c6a to e49c0b8 Compare May 29, 2026 00:58
Copilot AI review requested due to automatic review settings May 29, 2026 00:58

Copilot AI left a comment

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.

Copilot encountered an error and was unable to review this pull request. You can try again by re-requesting a review.

@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch from e49c0b8 to 14789a1 Compare June 1, 2026 20:47
@renovate renovate Bot changed the title [frontend] chore(deps): update eslint monorepo to v10 chore(deps): update eslint monorepo to v10 Jun 3, 2026
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch 3 times, most recently from 0a21c08 to 5c23827 Compare June 17, 2026 22:07
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch from 5c23827 to bc4ab52 Compare June 22, 2026 23:18
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch 2 times, most recently from de2c58f to 7256631 Compare September 15, 2026 21:55
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch 3 times, most recently from 357f1f7 to c17f793 Compare September 25, 2026 23:43
@codecov

codecov Bot commented Sep 25, 2026 •

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 0% with 1 line in your changes missing coverage. Please review.
✅ Project coverage is 49.63%. Comparing base (94bde65) to head (38b72d8).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
openaev-front/src/utils/hooks/useDataLoader.js 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff            @@
##               main    #5168   +/-   ##
=========================================
  Coverage     49.62%   49.63%           
- Complexity    13784    13791    +7     
=========================================
  Files          3157     3158    +1     
  Lines        104799   104811   +12     
  Branches      16936    16938    +2     
=========================================
+ Hits          52008    52020   +12     
+ Misses        48686    48683    -3     
- Partials       4105     4108    +3     
Flag Coverage Δ
backend 72.04% <ø> (+<0.01%) ⬆️
e2e 16.94% <0.00%> (-0.16%) ⬇️
frontend 13.76% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch 4 times, most recently from 857d4fa to 4ead761 Compare October 5, 2026 20:50
@renovate
renovate Bot force-pushed the renovate/major-eslint-monorepo branch from 4ead761 to ccfe8f1 Compare October 12, 2026 17:30
@guillaumejparis
Guillaume (guillaumejparis) changed the base branch from main to chore/front-dependency-cruiser October 13, 2026 09:27
@renovate

renovate Bot commented Oct 13, 2026

Copy link
Copy Markdown
Contributor Author

Edited/Blocked Notification

Renovate will not automatically rebase this PR, because it does not recognize the last commit author and assumes somebody else may have edited the PR.

You can manually request rebase by checking the rebase/retry box above.

⚠️ Warning: custom changes will be lost.

eslint-plugin-react's 'detect' setting calls context.getFilename(), which
ESLint 10 removed, so every react rule would crash. Pin the version to the
installed React (19.3) until the plugin supports ESLint 10.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…nment

ESLint 10 adds no-useless-assignment to js.configs.recommended. Remove
initial values that are always overwritten before being read, and the
final post-increment of the tab index that is never read again. The
select choices get an explicit Item[] type instead of the implicit any[]
of the dropped empty-array initializer.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
The RuleTester only accepts flat config, so the eslintrc-style parser and
parserOptions keys made the test throw before running any case.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
…t in step with react

eslint.config.js pins settings.react.version because eslint-plugin-react
cannot detect it on ESLint 10. A regex custom manager tracks that pin as
the react npm package, at major.minor precision, so Renovate updates it
together with react: minors in the weekly front-end batch, majors in the
react monorepo group.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file. filigran team Item from the Filigran team.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

chore(front): move to ESLint 10, replace eslint-plugin-import and enforce the rules of hooks

2 participants