Upgrade to ESLint v10 and enhance CI workflows#14
Merged
diogotorres97 merged 2 commits intomasterfrom Feb 11, 2026
Merged
Conversation
- Replace `mocha` with `node:test` - Update `@eslint/js@v10.0.1` - Update `@uphold/github-changelog-generator@v4.0.2` - Update `eslint@v10.0.0` - Update `eslint-config-prettier@v10.1.8` - Update `eslint-plugin-prettier@v5.5.5` - Update `prettier@v3.8.1` - Update `release-it@v19.2.4` Update ESLint config
- Add Node v24 to CI workflow - Update `actions/checkout@v6` and `actions/setup-node@v6` - Add `.release-it.js` configuration file - Rebuild CHANGELOG.md.
There was a problem hiding this comment.
Pull request overview
This PR upgrades the project to ESLint v10, updates the dependency/tooling stack (including switching tests from Mocha to node:test), and adjusts CI/release automation to accommodate new Node versions and a revised release process.
Changes:
- Upgraded ESLint/Prettier/release tooling dependencies and updated the flat ESLint config for v10.
- Replaced Mocha-based test execution with Node’s built-in test runner.
- Updated CI to test on Node 24 and revised the release workflow + added
release-itconfiguration.
Reviewed changes
Copilot reviewed 8 out of 9 changed files in this pull request and generated 7 comments.
Show a summary per file
| File | Description |
|---|---|
test/rules/no-unsafe-query_test.js |
Updates RuleTester expectations to align with newer ESLint behavior. |
package.json |
Bumps devDependencies (ESLint/Prettier/release tooling) and switches test script to node --test. |
index.js |
Adds plugin meta (name/version) and simplifies exported plugin shape. |
eslint.config.js |
Migrates/adjusts flat config for ESLint v10 and reorders config blocks. |
CHANGELOG.md |
Rebuilt changelog with a new release entry. |
.release-it.js |
Adds release-it configuration and changelog generation hook. |
.github/workflows/release.yaml |
Updates release workflow for newer Node/actions and changes auth/publishing approach. |
.github/workflows/ci.yaml |
Expands CI matrix to include Node 24 and updates action versions. |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
diogotorres97
approved these changes
Feb 11, 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.
Description
Add support for ESLint v10
Update all dependencies:
Replace
mochawithnode:testUpdate
@eslint/js@v10.0.1Update
@uphold/github-changelog-generator@v4.0.2Update
eslint@v10.0.0Update
eslint-config-prettier@v10.1.8Update
eslint-plugin-prettier@v5.5.5Update
prettier@v3.8.1Update
release-it@v19.2.4Update ESLint config
Update release workflow to use trusted OIDC publishing
actions/checkout@v6andactions/setup-node@v6..release-it.jsconfiguration file.CHANGELOG.md.