Conversation
Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>
Copilot
AI
changed the title
[WIP] Upgrade eslint to v10 and related packages
Upgrade eslint to v10
Feb 20, 2026
mikeharder
reviewed
Feb 20, 2026
mikeharder
approved these changes
Feb 20, 2026
raych1
approved these changes
Feb 20, 2026
Contributor
There was a problem hiding this comment.
Pull request overview
Upgrades the repository’s linting toolchain to ESLint v10 and updates related dependencies/lockfile entries to keep the existing flat ESLint config working, plus a small TypeScript refactor to satisfy a newly-enabled recommended rule.
Changes:
- Bumped
eslint/@eslint/jsto v10 and updatedtypescript-eslint; addedglobalsas a direct devDependency. - Updated
package-lock.jsonto reflect the new dependency graph after the ESLint v10 upgrade. - Refactored
getLatestTaginsrc/readme.tsto avoidno-useless-assignmentunder ESLint v10.
Reviewed changes
Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.
| File | Description |
|---|---|
src/readme.ts |
Refactors tag filtering logic to satisfy ESLint v10 recommended rules. |
package.json |
Updates devDependencies for ESLint v10 + related tooling; adds globals. |
package-lock.json |
Lockfile refresh for the upgraded lint/tooling dependency tree. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
Co-authored-by: mikeharder <9459391+mikeharder@users.noreply.github.com>
raych1
approved these changes
Feb 20, 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.
Upgrade ESLint from v9 to v10 and update related packages for compatibility.
Dependencies (
package.json):eslint^9.37.0→^10.0.0@eslint/js^9.37.0→^10.0.0typescript-eslint^8.46.0→^8.56.0globals^17.3.0— previously transitive via@eslint/eslintrc, which v10 removesEngine requirement (
package.json): Bumpedengines.nodefrom>=20.0.0to>=20.19.0to align with ESLint v10's minimum Node.js version (^20.19.0 || ^22.13.0 || >=24).Lint fix (
src/readme.ts): Fixedno-useless-assignmenterror (new ineslint:recommendedv10) by collapsing a redundantlet+ if/else into a ternary:No changes to
eslint.config.js— the existing flat config is already v10-compatible.Original prompt
💡 You can make Copilot smarter by setting up custom instructions, customizing its development environment and configuring Model Context Protocol (MCP) servers. Learn more Copilot coding agent tips in the docs.