feat: upgrade ESLint to v10 with flat config migration#432
Merged
ThisIsDemetrio merged 2 commits intomasterfrom Apr 22, 2026
Merged
feat: upgrade ESLint to v10 with flat config migration#432ThisIsDemetrio merged 2 commits intomasterfrom
ThisIsDemetrio merged 2 commits intomasterfrom
Conversation
…s flat config Agent-Logs-Url: https://github.com/mia-platform/lc39/sessions/958e52ae-c196-47dd-b503-17e169f4aaad Co-authored-by: ThisIsDemetrio <5429953+ThisIsDemetrio@users.noreply.github.com>
Agent-Logs-Url: https://github.com/mia-platform/lc39/sessions/958e52ae-c196-47dd-b503-17e169f4aaad Co-authored-by: ThisIsDemetrio <5429953+ThisIsDemetrio@users.noreply.github.com>
Copilot created this pull request from a session on behalf of
ThisIsDemetrio
April 22, 2026 09:06
View session
ThisIsDemetrio
approved these changes
Apr 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
ESLint v8 → v10 requires migrating from the legacy
.eslintrcformat to the new flat config system.@mia-platform/eslint-config-mia@9was evaluated but dropped — it depends oneslint-plugin-import@2.xwhich callssourceCode.getTokenOrCommentAfter(), an internal API removed in ESLint v10.Changes
Dependencies (
package.json)eslint:^8.53.0→^10.2.1@mia-platform/eslint-config-mia(ESLint v10 incompatible)@eslint/js@^10.0.1andglobals@^17.5.0as replacementseslintConfigfield (legacy format, unsupported in ESLint v9+)--ignore-path .gitignore(replaced byignoresin flat config)New
eslint.config.js— flat config using@eslint/jsrecommended rules with Node.js CommonJS globals,ecmaVersion: 2022, and explicit ignore patterns:Stale
eslint-disablecomments removed across 5 files for rules removed/renamed in ESLint v9+:valid-jsdoc— rule removedglobal-require— rule removedid-blacklist— renamed toid-denylistno-consoleandno-shadowinline directivesChecklist
masternpm test