chore(deps-dev): migrate ESLint to v9 with flat config#908
Merged
kodiakhq[bot] merged 4 commits intomasterfrom Mar 11, 2026
Merged
chore(deps-dev): migrate ESLint to v9 with flat config#908kodiakhq[bot] merged 4 commits intomasterfrom
kodiakhq[bot] merged 4 commits intomasterfrom
Conversation
Co-authored-by: leosuncin <4307697+leosuncin@users.noreply.github.com>
Co-authored-by: leosuncin <4307697+leosuncin@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Update eslint to version 9 and related dependencies
chore(deps-dev): migrate ESLint to v9 with flat config
Mar 10, 2026
Owner
|
@copilot you can uninstall eslint-plugin-deprecation and replace it with @typescript-eslint/no-deprecated rule |
…slint/no-deprecated rule Co-authored-by: leosuncin <4307697+leosuncin@users.noreply.github.com>
Contributor
Author
Done in 95654ee. Removed |
Owner
|
🎉 This PR is included in version 1.1.2 🎉 The release is available on GitHub release Your semantic-release bot 📦🚀 |
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.
Upgrades ESLint from v8 to v9 and migrates the config from
.eslintrc.json(legacy format) toeslint.config.mjs(flat config). Replaces two deprecated packages and adds no extra compatibility shims.Package changes
eslint→ ^9.39.4@typescript-eslint/{eslint-plugin,parser}→ ^8.57.0; addedtypescript-eslint^8.57.0eslint-plugin-sonarjs→ ^4.0.2eslint-plugin-security→ ^4.0.0eslint-plugin-jest→ ^29.15.0eslint-plugin-no-secrets→ ^2.3.3eslint-import-resolver-typescript→ ^4.4.4eslint-plugin-array-func→ ^5.1.1 (now ESM-only, flat config required)eslint-plugin-import→ ^2.32.0eslint-plugin-nodereplaced witheslint-plugin-n^17.24.0 (maintained fork; rules renamedn/*)eslint-plugin-eslint-commentsreplaced with@eslint-community/eslint-plugin-eslint-comments^4.7.1eslint-plugin-deprecationremoved — replaced by the built-in@typescript-eslint/no-deprecatedrule (no extra package needed)globals^15.15.0Config migration
eslint.config.mjscreated;.eslintrc.jsonand.eslintignoreremoveddeprecation/deprecation: warnreplaced with@typescript-eslint/no-deprecated: warn— same behavior, no external plugin required.mjs,.cjs,.js) gettseslint.configs.disableTypeCheckedto exclude them from typed linting@typescript-eslint/only-throw-error,sonarjs/slow-regex,sonarjs/no-hardcoded-secrets,sonarjs/no-hardcoded-passwords,sonarjs/assertions-in-testsnullish-coalescing-operatorsadded ton/no-unsupported-features/es-syntaxignores —eslint-plugin-ndetects??usage against the Node 12.x engine range (oldeslint-plugin-nodemissed this); the underlying compatibility issue requires separate author attentionOriginal prompt
🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.