Skip to content

Upgrade to ESLint v10 and enhance CI workflows#14

Merged
diogotorres97 merged 2 commits intomasterfrom
feature/eslint-10
Feb 11, 2026
Merged

Upgrade to ESLint v10 and enhance CI workflows#14
diogotorres97 merged 2 commits intomasterfrom
feature/eslint-10

Conversation

@risantos
Copy link
Member

Description

Add support for ESLint v10

Update all dependencies:

  • 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

Update release workflow to use trusted OIDC publishing

  • Add Node v24 to CI workflow.
  • Update actions/checkout@v6 and actions/setup-node@v6.
  • Add .release-it.js configuration file.
  • Rebuild CHANGELOG.md.

- 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.
Copilot AI review requested due to automatic review settings February 10, 2026 03:17
@risantos risantos added the dependencies Pull requests that update a dependency file label Feb 10, 2026
@risantos risantos self-assigned this Feb 10, 2026
Copy link

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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-it configuration.

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 diogotorres97 merged commit 5a47279 into master Feb 11, 2026
10 checks passed
@diogotorres97 diogotorres97 deleted the feature/eslint-10 branch February 11, 2026 14:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants