Skip to content

chore(deps): revert eslint to v9#1757

Merged
danielroe merged 1 commit intomainfrom
chore/revert-eslint
Mar 14, 2026
Merged

chore(deps): revert eslint to v9#1757
danielroe merged 1 commit intomainfrom
chore/revert-eslint

Conversation

@wattanx
Copy link
Collaborator

@wattanx wattanx commented Mar 14, 2026

🔗 Linked issue

❓ Type of change

  • 📖 Documentation (updates to the documentation or readme)
  • 🐞 Bug fix (a non-breaking change that fixes an issue)
  • 👌 Enhancement (improving an existing functionality like performance)
  • ✨ New feature (a non-breaking change that adds functionality)
  • ⚠️ Breaking change (fix or feature that would cause existing functionality to change)

📚 Description

Revert eslint from v10 (10.0.2) back to v9 (9.39.3).
neostandard does not fully support ESLint v10 yet.

Even with neostandard 0.13.0, the compatibility is not yet complete — it requires an updated version of @stylistic/eslint-plugin. However, simply overriding the version of @stylistic/eslint-plugin is not sufficient either, as some rule names have changed.

📝 Checklist

  • I have linked an issue or discussion.
  • I have updated the documentation accordingly.

@pkg-pr-new
Copy link

pkg-pr-new bot commented Mar 14, 2026

Open in StackBlitz

npm i https://pkg.pr.new/@nuxt/bridge@1757
npm i https://pkg.pr.new/@nuxt/bridge-schema@1757

commit: 4680d72

@wattanx wattanx force-pushed the chore/revert-eslint branch from 7a7ee78 to c58ec49 Compare March 14, 2026 13:07
@wattanx wattanx marked this pull request as ready for review March 14, 2026 13:12
@wattanx wattanx requested a review from danielroe March 14, 2026 13:13
@coderabbitai
Copy link

coderabbitai bot commented Mar 14, 2026

📝 Walkthrough

Walkthrough

Package.json dependency updates were applied: eslint was downgraded from version 10.0.2 to 9.39.3, and a new devDependency eslint-scope@9.1.1 was introduced. A corresponding resolution entry was added to pin eslint-scope to version 9.1.1, ensuring consistent package resolution across environments. The changes total 2 additions and 1 removal to the configuration file.

Estimated code review effort

🎯 1 (Trivial) | ⏱️ ~3 minutes

🚥 Pre-merge checks | ✅ 3
✅ Passed checks (3 passed)
Check name Status Explanation
Title check ✅ Passed The title clearly and concisely summarizes the main change: reverting eslint to v9, which aligns with the changeset that downgrades eslint and adds eslint-scope.
Description check ✅ Passed The description clearly explains the reason for reverting eslint from v10 to v9, citing compatibility issues with neostandard, and is directly relevant to the changeset.
Docstring Coverage ✅ Passed No functions found in the changed files to evaluate docstring coverage. Skipping docstring coverage check.

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

✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Post copyable unit tests in a comment
  • Commit unit tests in branch chore/revert-eslint
📝 Coding Plan
  • Generate coding plan for human review comments

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

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

Tip

You can customize the tone of the review comments and chat replies.

Configure the tone_instructions setting to customize the tone of the review comments and chat replies. For example, you can set the tone to Act like a strict teacher, Act like a pirate and more.

Copy link

@coderabbitai coderabbitai bot left a comment

Choose a reason for hiding this comment

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

🧹 Nitpick comments (1)
package.json (1)

29-29: ESLint v9 requires Node.js 18.18.0+, but the declared engine still includes Node 14 and 16.

Line 29 pins ESLint v9.39.3, yet Line 62 advertises support for Node 14 and 16. This creates a broken contract—developers using those versions will see linting failures. Either tighten engines.node to >=18.18.0 or add a separate devEngines field to clarify the dev tooling requirement.

🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed.

In `@package.json` at line 29, The package.json currently pins "eslint": "9.39.3"
which requires Node >=18.18.0 while the "engines.node" field still allows Node
14 and 16; update package.json to resolve this mismatch by either tightening the
engines.node to ">=18.18.0" (or a compatible range) or add a new field (e.g.,
"devEngines") documenting that ESLint and other dev tooling require Node
>=18.18.0; make the change next to the "eslint" entry and the "engines.node"
declaration so the contract is consistent for contributors.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Nitpick comments:
In `@package.json`:
- Line 29: The package.json currently pins "eslint": "9.39.3" which requires
Node >=18.18.0 while the "engines.node" field still allows Node 14 and 16;
update package.json to resolve this mismatch by either tightening the
engines.node to ">=18.18.0" (or a compatible range) or add a new field (e.g.,
"devEngines") documenting that ESLint and other dev tooling require Node
>=18.18.0; make the change next to the "eslint" entry and the "engines.node"
declaration so the contract is consistent for contributors.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: ed09711f-ad07-43be-bc4c-0f3ccca09bad

📥 Commits

Reviewing files that changed from the base of the PR and between 1168d4c and c58ec49.

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

@danielroe danielroe merged commit 55af024 into main Mar 14, 2026
41 checks passed
@danielroe danielroe deleted the chore/revert-eslint branch March 14, 2026 14:49
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