Skip to content

chore(deps-dev): rollback eslint from 10 to ^9 - #286

Merged
sergeyklay merged 1 commit into
mainfrom
deps/eslint-9
Feb 19, 2026
Merged

sergeyklay merged 1 commit into
mainfrom
deps/eslint-9

Conversation

@sergeyklay

Copy link
Copy Markdown
Owner

🎯 Scope & Context

Type: Chore

Intent: Rollback ESLint from v10 to ^9 because not all plugins and components are compatible with ESLint 10 yet. This also removes the eslint-plugin-react fork override that was only needed for ESLint 10 compatibility, and scopes npm audit in CI to production dependencies only.

🧭 Reviewer Guide

Complexity: Low

Entry Point

Start with package.json - the two key changes are the ESLint version constraint reverting from ^10.0.0 to ^9 and the removal of the eslint-plugin-react GitHub fork override. The package-lock.json changes are the resolved dependency tree for this downgrade.

Sensitive Areas

  • .github/workflows/ci.yml: npm audit now uses --omit=dev to avoid false positives from dev dependency advisories

⚠️ Risk Assessment

  • Breaking Changes: No breaking changes
  • Migrations/State: No migrations or state changes

Not all plugins and components are compatible with ESLint 10.
Remove eslint-plugin-react fork override that was needed for
ESLint 10 compatibility. Scope npm audit to production deps
only to avoid false positives from dev dependencies.
@sergeyklay
sergeyklay requested a review from cicdbot as a code owner February 19, 2026 10:28
Copilot AI review requested due to automatic review settings February 19, 2026 10:28
@sergeyklay
sergeyklay merged commit 4821cfa into main Feb 19, 2026
9 checks passed
@sergeyklay
sergeyklay deleted the deps/eslint-9 branch February 19, 2026 10:30
@codecov

codecov Bot commented Feb 19, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 95.99%. Comparing base (2cda48c) to head (74d2d2f).
⚠️ Report is 14 commits behind head on main.
✅ All tests successful. No failed tests found.

Additional details and impacted files
@@           Coverage Diff            @@
##             main     #286    +/-   ##
========================================
  Coverage   95.99%   95.99%            
========================================
  Files          91       91            
  Lines       13504    13504            
  Branches      983     1242   +259     
========================================
  Hits        12963    12963            
  Misses        541      541            

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

🚀 New features to boost your workflow:
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

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 rolls back ESLint from v10 to the v9 major line to restore compatibility with the current linting plugin ecosystem, removes the temporary eslint-plugin-react fork override, and adjusts CI auditing behavior.

Changes:

  • Downgrade eslint from ^10.0.0 to ^9 and drop the eslint-plugin-react GitHub fork override.
  • Update package-lock.json to reflect the new resolved dependency graph for ESLint v9.
  • Change CI npm audit to omit devDependencies (--omit=dev).

Reviewed changes

Copilot reviewed 2 out of 3 changed files in this pull request and generated 1 comment.

File Description
package.json Downgrades ESLint and removes the eslint-plugin-react override.
package-lock.json Re-resolves the dependency tree for ESLint v9 (and updates additional packages due to re-resolution).
.github/workflows/ci.yml Scopes npm audit to production dependencies only.

Comment thread .github/workflows/ci.yml

- name: Audit packages
run: npm audit --audit-level=high
run: npm audit --omit=dev --audit-level=high

Copilot AI Feb 19, 2026

Copy link

Choose a reason for hiding this comment

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

With --omit=dev, CI will no longer fail on known vulnerabilities that exist only in devDependencies. If this is intentional, consider renaming the step to clarify it's auditing production dependencies (or add a separate scheduled/full audit) so the reduced coverage is explicit.

Suggested change
run: npm audit --omit=dev --audit-level=high
run: npm audit --audit-level=high

Copilot uses AI. Check for mistakes.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants