chore(deps): upgrade ESLint v8 → v9 and migrate to flat config#8769
chore(deps): upgrade ESLint v8 → v9 and migrate to flat config#8769ccastrotrejo merged 7 commits intomainfrom
Conversation
🤖 AI PR Validation ReportPR Review ResultsThank you for your submission! Here's detailed feedback on your PR title and body compliance:✅ PR Title
✅ Commit Type
✅ Risk Level
✅ What & Why
✅ Impact of Change
✅ Test Plan
✅ Contributors
|
| Section | Status | Recommendation |
|---|---|---|
| Title | ✅ | Keep as-is. |
| Commit Type | ✅ | Correctly set to chore. |
| Risk Level | ✅ | risk:medium matches body and is appropriate. |
| What & Why | ✅ | Good; concise. |
| Impact of Change | ✅ | Good; consider highlighting IDE restart/pnpm install steps. |
| Test Plan | ✅ | Good; add one sentence explaining why test changes are sufficient and confirm CI run. |
| Contributors | ✅ | Good. |
| Screenshots/Videos | N/A — OK for dev-tooling changes. |
Final message: This PR is ready from a PR-title/body/template perspective. The risk assessment you selected (Medium) aligns with the changes in the diff and my advised risk is also Medium. Please remove the needs-pr-update label if the PR is final, ensure CI (lint + tests) passes, and optionally add a line in the Test Plan clarifying that only one unit test changed due to formatting and that developers should restart ESLint in their IDEs after pulling. Thank you for the thorough PR description!
Last updated: Mon, 09 Feb 2026 16:00:30 GMT
|
📊 Coverage check completed. See workflow run for details. |
Bumps [eslint](https://github.com/eslint/eslint) from 8.57.1 to 9.26.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/v9.26.0/CHANGELOG.md) - [Commits](eslint/eslint@v8.57.1...v9.26.0) --- updated-dependencies: - dependency-name: eslint dependency-version: 9.26.0 dependency-type: direct:development ... Signed-off-by: dependabot[bot] <support@github.com>
63d31cc to
18a429f
Compare
|
📊 Coverage check completed. See workflow run for details. |
|
📊 Coverage check completed. See workflow run for details. |
…ndabot/npm_and_yarn/eslint-9.26.0
- Add eslint.config.mjs (flat config via FlatCompat) - Upgrade eslint-plugin-formatjs to ^4.14.0 (ESLint 9 support) - Upgrade eslint-plugin-import to ^2.31.0 (removed API fix) - Upgrade eslint-plugin-react to ^7.37.0 (removed API fix) - Upgrade eslint-plugin-react-hooks to ^5.2.0 (ESLint 9 compat) - Add @eslint/compat ^2.0.0
- Remove 12 .eslintrc.json/.cjs files (now dead code with flat config) - Remove deprecated --ext flag from app lint scripts
…/ ignore - Add react-refresh plugin override for apps/Standalone (was in .eslintrc.cjs) - Add apps/vs-code-designer/src/test/** to global ignores (was in .eslintrc.json)
|
📊 Coverage check completed. See workflow run for details. |
1 similar comment
|
📊 Coverage check completed. See workflow run for details. |
|
📊 Coverage check completed. See workflow run for details. |
|
📊 Coverage check completed. See workflow run for details. |
1 similar comment
|
📊 Coverage check completed. See workflow run for details. |
Commit Type
Risk Level
What & Why
Upgrades ESLint from v8.57.1 to v9.26.0 and migrates the repository's lint configuration from the legacy
.eslintrc.*format to ESLint 9's flat config (eslint.config.mjs).Why: ESLint v8 is end-of-life. v9 introduces the flat config system, improved performance, and modern rule APIs. Several ESLint plugins required companion upgrades to support the new major version. Staying on v8 blocks future rule/plugin updates and leaves the repo on an unsupported toolchain.
Key changes
eslint8.57.1 → 9.26.0 (dependabot initial commit + lockfile)eslint.config.mjsusingFlatCompatto bridge existing rules while adopting the new config formateslint-plugin-formatjs→ ^4.14.0eslint-plugin-import→ ^2.31.0eslint-plugin-react→ ^7.37.0eslint-plugin-react-hooks→ ^5.2.0@eslint/compat^2.0.0.eslintrc.json/.cjsfiles — root, all apps (Standalone,vs-code-designer,vs-code-react,iframe-app), and all libs (chatbot,data-mapper,data-mapper-v2,designer,designer-ui,designer-v2,logic-apps-shared,vscode-extension)--extflag from app-levelpackage.jsonlint commandsreact-refreshplugin forapps/Standalone;apps/vs-code-designer/src/test/**added to global ignoresTreeActionItem.spec.tsxto use exact string match ('5s') instead of regex for duration badge (formatting change from plugin upgrade)Impact of Change
eslint.config.mjs. Developers should runpnpm installto pick up new dependencies. IDE ESLint extensions may need a restart. Lint behavior may surface new warnings or fix previously suppressed ones.Test Plan
Validation steps:
pnpm install— clean install succeedspnpm run build— full build passesTreeActionItem.spec.tsxtest to account for duration formatting change from plugin upgradeContributors
Screenshots/Videos
N/A — no UI changes