Skip to content

build(deps-dev): bump eslint from 9.39.2 to 10.4.1#3459

Open
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/eslint-10.4.1
Open

build(deps-dev): bump eslint from 9.39.2 to 10.4.1#3459
dependabot[bot] wants to merge 1 commit into
masterfrom
dependabot/npm_and_yarn/eslint-10.4.1

Conversation

@dependabot

@dependabot dependabot Bot commented on behalf of github Jun 2, 2026

Copy link
Copy Markdown
Contributor

Bumps eslint from 9.39.2 to 10.4.1.

Release notes

Sourced from eslint's releases.

v10.4.1

Bug Fixes

  • e557467 fix: update @eslint/plugin-kit version to 0.7.2 (#20930) (Francesco Trotta)
  • d4ce898 fix: propagate failures from delegated commands (#20917) (Minh Vu)
  • f4f3507 fix: prefer-arrow-callback invalid autofix with newline after async (#20916) (kuldeep kumar)
  • c5bc78b fix: false positive for reference in finally block (#20655) (Tanuj Kanti)
  • 27538c0 fix: add missing CodePath and CodePathSegment types (#20853) (Pixel998)

Documentation

  • 61b0add docs: remove deprecated rule from related rules of max-params (#20921) (Tanuj Kanti)
  • 305d5b9 docs: remove deprecated rules from related rules section (#20911) (Tanuj Kanti)
  • 49b0202 docs: fix display: none of ad (#20901) (Tanuj Kanti)
  • 9067f94 docs: switch build to Node.js 24 (#20893) (Milos Djermanovic)
  • c91b041 docs: Update README (GitHub Actions Bot)
  • e349265 docs: clarify semver strings in rule deprecation objects (#20885) (Milos Djermanovic)

Chores

  • b0e466b test: add data property to invalid tests cases for rules (#20924) (Tanuj Kanti)
  • f78838b test: add CodePath type coverage (#20904) (Pixel998)
  • 1daa4bd chore: update eslint-plugin-eslint-comments test data to latest commit (#20922) (Francesco Trotta)
  • 002942c ci: declare contents:read on update-readme workflow (#20919) (Arpit Jain)
  • 64bca24 chore: update ecosystem plugins (#20912) (ESLint Bot)
  • 6d7c832 chore: ignore fflate updates in renovate (#20908) (Pixel998)
  • b2c8638 ci: bump pnpm/action-setup from 6.0.7 to 6.0.8 (#20889) (dependabot[bot])
  • a9b8d7f chore: increase maxBuffer for ecosystem tests (#20881) (sethamus)
  • b702ead chore: update ecosystem update PR settings (#20884) (Pixel998)
  • 507f60e chore: update ecosystem plugins (#20882) (ESLint Bot)
  • 92f5c5b test: add unit test for message-count (#20878) (kuldeep kumar)
  • df32108 chore: add @​eslint/markdown and typescript-eslint ecosystem tests (#20837) (sethamus)
  • 327f91d chore: use includeIgnoreFile internally (#20876) (Kirk Waiblinger)
  • f0dc4bd chore: pin fflate@0.8.2 (#20877) (Milos Djermanovic)
  • 0f4bd25 ci: run Discord alert for ecosystem test failures (#20873) (Copilot)

v10.4.0

Features

  • 1a45ec5 feat: check sequence expressions in for-direction (#20701) (kuldeep kumar)
  • 450040b feat: add includeIgnoreFile() to eslint/config (#20735) (Kirk Waiblinger)

Bug Fixes

  • 544c0c3 fix: escape code path DOT labels in debug output (#20866) (Pixel998)
  • 6799431 fix: update dependency @​eslint/config-helpers to ^0.6.0 (#20850) (renovate[bot])
  • f078fef fix: handle non-array deprecated rule replacements (#20825) (xbinaryx)

Documentation

  • 7e52a71 docs: add mention of @eslint-react/eslint-plugin (#20869) (Pavel)
  • db3468b docs: tweak wording around ambiguous CJS-vs-ESM config (#20865) (Kirk Waiblinger)
  • 9084664 docs: Update README (GitHub Actions Bot)
  • 9cc7387 docs: Update README (GitHub Actions Bot)
  • 3d7b548 docs: Update README (GitHub Actions Bot)
  • 191ec3c docs: Update README (GitHub Actions Bot)

... (truncated)

Commits
  • 4a3d15a 10.4.1
  • 43e7e2b Build: changelog update for 10.4.1
  • e557467 fix: update @eslint/plugin-kit version to 0.7.2 (#20930)
  • b0e466b test: add data property to invalid tests cases for rules (#20924)
  • d4ce898 fix: propagate failures from delegated commands (#20917)
  • f4f3507 fix: prefer-arrow-callback invalid autofix with newline after async (#20916)
  • f78838b test: add CodePath type coverage (#20904)
  • 61b0add docs: remove deprecated rule from related rules of max-params (#20921)
  • 1daa4bd chore: update eslint-plugin-eslint-comments test data to latest commit (#20...
  • 002942c ci: declare contents:read on update-readme workflow (#20919)
  • Additional commits viewable in compare view

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Summary by CodeRabbit

  • Chores
    • Updated development dependency versions to maintain code quality tooling standards.

Bumps [eslint](https://github.com/eslint/eslint) from 9.39.2 to 10.4.1.
- [Release notes](https://github.com/eslint/eslint/releases)
- [Commits](eslint/eslint@v9.39.2...v10.4.1)

---
updated-dependencies:
- dependency-name: eslint
  dependency-version: 10.4.1
  dependency-type: direct:development
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file javascript Pull requests that update javascript code labels Jun 2, 2026
@coderabbitai

coderabbitai Bot commented Jun 2, 2026

Copy link
Copy Markdown

Review Change Stack

📝 Walkthrough

Walkthrough

ESLint dev dependency is updated from version ^9.13.0 to ^10.4.1 in package.json. This is a direct version bump with no other configuration or script changes.

Changes

ESLint Upgrade

Layer / File(s) Summary
ESLint version bump
package.json
eslint devDependency upgraded from ^9.13.0 to ^10.4.1.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~2 minutes

Poem

🐰 ESLint now shines bright at version ten,
With checks that flow cleaner than ever, and then—
The code stays pure, the rules aligned,
A hop toward better code refined!

🚥 Pre-merge checks | ✅ 5
✅ Passed checks (5 passed)
Check name Status Explanation
Description Check ✅ Passed Check skipped - CodeRabbit’s high-level summary is enabled.
Title check ✅ Passed The title accurately describes the main change: updating the eslint dev dependency from version 9.39.2 to 10.4.1, which is the sole modification in the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.
Linked Issues check ✅ Passed Check skipped because no linked issues were found for this pull request.
Out of Scope Changes check ✅ Passed Check skipped because no linked issues were found for this pull request.

✏️ Tip: You can configure your own custom pre-merge checks in the settings.

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch dependabot/npm_and_yarn/eslint-10.4.1

Comment @coderabbitai help to get the list of available commands and usage tips.

@codecov

codecov Bot commented Jun 2, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 100.00%. Comparing base (309b972) to head (4e3deb4).

Additional details and impacted files
@@            Coverage Diff            @@
##            master     #3459   +/-   ##
=========================================
  Coverage   100.00%   100.00%           
=========================================
  Files          311       311           
  Lines         3237      3237           
  Branches       732       732           
=========================================
  Hits          3237      3237           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@coderabbitai coderabbitai Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

Inline comments:
In `@package.json`:
- Line 85: package.json currently pins "eslint": "^10.4.1" but v10 requires
migrating to flat config and verifying plugin compatibility; update your repo to
use an eslint.config.* flat config that sets ignores and languageOptions.globals
(remove use of eslint-env/--env and legacy .eslintrc*/.eslintignore), and
audit/upgrade plugins referenced in package.json such as eslint-plugin-import to
a v10-compatible release (and confirm `@typescript-eslint/`*,
eslint-plugin-functional, eslint-plugin-jsdoc versions are compatible); also
ensure CI (the npm run lint job) and package.json's engines/Node version meet
ESLint v10 runtime requirements before merging.
🪄 Autofix (Beta)

Fix all unresolved CodeRabbit comments on this PR:

  • Push a commit to this branch (recommended)
  • Create a new PR with the fixes

ℹ️ Review info
⚙️ Run configuration

Configuration used: defaults

Review profile: CHILL

Plan: Pro Plus

Run ID: 1da01047-9da2-4206-adef-daf294cf3f02

📥 Commits

Reviewing files that changed from the base of the PR and between 309b972 and 4e3deb4.

⛔ Files ignored due to path filters (1)
  • package-lock.json is excluded by !**/package-lock.json
📒 Files selected for processing (1)
  • package.json

Comment thread package.json
"cspell": "^10.0.0",
"docsify-cli": "^4.3.0",
"eslint": "^9.13.0",
"eslint": "^10.4.1",

Copy link
Copy Markdown

Choose a reason for hiding this comment

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

⚠️ Potential issue | 🟠 Major | 🏗️ Heavy lift

🧩 Analysis chain

🌐 Web query:

ESLint v10 breaking changes flat config migration guide

💡 Result:

ESLint v10.0.0 was released on February 6, 2026, marking the complete removal of the legacy.eslintrc configuration system in favor of the flat configuration format [1][2]. Projects must now use eslint.config.js (or.mjs/.cjs) as their configuration file [1][3]. Key Breaking Changes and Migration Requirements: 1. Removal of Legacy Config Support: The.eslintrc,.eslintrc.json,.eslintrc.js, and.eslintrc.yml files are no longer supported [3][4]. The environment variable ESLINT_USE_FLAT_CONFIG has been removed, making flat config mandatory [1][3]. 2. Node.js Version Requirements: ESLint v10 requires Node.js versions ^20.19.0, ^22.13.0, or >=24. Older versions of Node.js are no longer supported [1][5][2]. 3. Configuration Structure: - The ignores property in the flat config array now handles file ignoring, replacing the separate.eslintignore file [3][4]. - The --env CLI flag and /* eslint-env / comments are no longer supported; environments must now be configured using the globals package within languageOptions [4]. - Legacy plugins and configs (like those using extends or --rulesdir) must be imported directly into the flat config array [3][4]. The @eslint/eslintrc package remains available if you need to use FlatCompat to bridge legacy configs during transition [6]. 4. Notable API and Internal Changes: - The stylish formatter now uses native styleText instead of chalk [1][5]. - The LintMessage objects no longer contain a nodeType property [1][2]. - eslint:recommended has been updated, and JSX reference tracking is now enabled [1][5]. - Program range now spans the entire source text [2]. Migration Steps: - Identify and remove all.eslintrc. and.eslintignore files [4]. - Create an eslint.config.js file and export an array of configuration objects [6][7]. - Migrate ignore patterns into the ignores property of your flat config [3][4]. - Update any dependencies (such as typescript-eslint) to versions compatible with ESLint v10 (e.g., typescript-eslint v8+) [3]. - Run the ESLint configuration migrator tool to generate a starting point for your new configuration [6][3]. For comprehensive instructions, consult the official ESLint migration guide at https://eslint.org/docs/latest/use/migrate-to-10.0.0 [1].

Citations:


🏁 Script executed:

#!/bin/bash
# Description: Check if ESLint plugins declare ESLint v10 compatibility in their package.json

# Check each plugin's peer dependencies for ESLint version support
for plugin in \
  "`@typescript-eslint/eslint-plugin`" \
  "eslint-plugin-import" \
  "eslint-plugin-functional" \
  "eslint-plugin-jsdoc" \
  "eslint-plugin-no-null" \
  "eslint-plugin-prefer-arrow" \
  "eslint-plugin-unicorn"; do
  echo "=== Checking $plugin ==="
  npm view "$plugin" peerDependencies.eslint 2>/dev/null || echo "No peer dependency info found"
  echo ""
done

Repository: dolanmiu/docx

Length of output: 512


Major: ESLint 10 upgrade needs flat-config + plugin compatibility checks

  • ESLint v10 removes legacy .eslintrc*/.eslintignore support and changes env/ignore handling for flat config; ensure your flat config (eslint.config.*) uses ignores and languageOptions.globals (no eslint-env/--env).
  • Plugin compatibility is mixed: @typescript-eslint/*, eslint-plugin-functional, and eslint-plugin-jsdoc advertise peer support that includes ESLint ^10, but eslint-plugin-import’s peer dependency list does not include ESLint ^10 (so update eslint-plugin-import to a v10-compatible release if you’re on the ^2.x line).
  • Since CI runs npm run lint, also confirm CI/package.json Node version meets ESLint v10’s requirements.
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.

In `@package.json` at line 85, package.json currently pins "eslint": "^10.4.1" but
v10 requires migrating to flat config and verifying plugin compatibility; update
your repo to use an eslint.config.* flat config that sets ignores and
languageOptions.globals (remove use of eslint-env/--env and legacy
.eslintrc*/.eslintignore), and audit/upgrade plugins referenced in package.json
such as eslint-plugin-import to a v10-compatible release (and confirm
`@typescript-eslint/`*, eslint-plugin-functional, eslint-plugin-jsdoc versions are
compatible); also ensure CI (the npm run lint job) and package.json's
engines/Node version meet ESLint v10 runtime requirements before merging.

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 javascript Pull requests that update javascript code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants