Skip to content

chore!: bump eslint v10#301

Merged
JounQin merged 1 commit intomainfrom
chore/bump_eslint
Apr 8, 2026
Merged

chore!: bump eslint v10#301
JounQin merged 1 commit intomainfrom
chore/bump_eslint

Conversation

@JounQin
Copy link
Copy Markdown
Member

@JounQin JounQin commented Apr 8, 2026

Summary by CodeRabbit

  • New Features

    • Added download property to PDF navigation in versions menu.
  • Chores

    • Bumped major dependencies: ESLint v10, TypeScript v6.
    • Updated Node.js engine requirement to ≥22.18.0.
    • Updated various tooling dependencies.

Copilot AI review requested due to automatic review settings April 8, 2026 05:23
@changeset-bot
Copy link
Copy Markdown

changeset-bot Bot commented Apr 8, 2026

🦋 Changeset detected

Latest commit: f4ea005

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@alauda/doom Major

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Apr 8, 2026

Warning

Rate limit exceeded

@JounQin has exceeded the limit for the number of commits that can be reviewed per hour. Please wait 21 minutes and 40 seconds before requesting another review.

Your organization is not enrolled in usage-based pricing. Contact your admin to enable usage-based pricing to continue reviews beyond the rate limit, or try again in 21 minutes and 40 seconds.

⌛ How to resolve this issue?

After the wait time has elapsed, a review can be triggered using the @coderabbitai review command as a PR comment. Alternatively, push new commits to this PR.

We recommend that you space out your commits to avoid hitting the rate limit.

🚦 How do rate limits work?

CodeRabbit enforces hourly rate limits for each developer per organization.

Our paid plans have higher rate limits than the trial, open-source and free plans. In all cases, we re-allow further reviews after a brief timeout.

Please see our FAQ for further information.

ℹ️ Review info
⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 97564d39-3727-4470-8297-bceacf715e1e

📥 Commits

Reviewing files that changed from the base of the PR and between bafab02 and f4ea005.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (12)
  • .changeset/five-garlics-rescue.md
  • eslint.config.js
  • package.json
  • packages/doom/package.json
  • packages/doom/src/eslint.ts
  • packages/doom/src/runtime/components/K8sCrd.tsx
  • packages/doom/src/runtime/components/K8sPermissionTable.tsx
  • packages/doom/src/runtime/components/Masonry.tsx
  • packages/doom/src/runtime/hooks/useInterval.ts
  • packages/doom/src/runtime/hooks/useMemoizedFn.ts
  • packages/doom/src/theme/AutoExpandable.tsx
  • packages/doom/src/theme/VersionsNav/index.tsx

Walkthrough

Upgrades ESLint from v9.39.3 to v10.2.0 and TypeScript from v5.9.3 to v6.0.2, along with related dependencies. Adjusts ESLint configuration for React plugin compatibility, updates lint-rule suppression directives across components, and increments Node.js engine requirement to >=22.18.0.

Changes

Cohort / File(s) Summary
Changeset Entry
.changeset/five-garlics-rescue.md
Marks major version release for @alauda/doom with notation for ESLint v10 bump.
ESLint Configuration
eslint.config.js, packages/doom/src/eslint.ts
Reorders React plugin config (moves react.configs.recommended after react-hooks), adds conflict-avoidance preset, disables additional React rules (@eslint-react/jsx-no-children-prop, @eslint-react/rules-of-hooks) for MDX files, and wraps ESLint defineConfig with @ts-expect-error annotations.
Package Dependency Upgrades
package.json, packages/doom/package.json
Upgrades ESLint (v9.39.3→v10.2.0), TypeScript (v5.9.3→v6.0.2), and related devDependencies (@swc/core, @types/node, prettier-plugin-pkg); bumps Node.js engine requirement to >=22.18.0; updates ESLint ecosystem and framework packages (@rspress, @cspell/eslint-plugin, @eslint-react/eslint-plugin).
ESLint Suppression Comment Updates
packages/doom/src/runtime/components/K8sCrd.tsx, packages/doom/src/runtime/components/K8sPermissionTable.tsx, packages/doom/src/runtime/components/Masonry.tsx, packages/doom/src/runtime/hooks/useInterval.ts, packages/doom/src/runtime/hooks/useMemoizedFn.ts, packages/doom/src/theme/AutoExpandable.tsx
Updates or removes inline ESLint directives to reflect v10 rule naming conventions (e.g., @eslint-react/set-state-in-effect replacing @eslint-react/hooks-extra/no-direct-set-state-in-use-effect, removes deprecated react-hooks/refs annotations).
Navigation Component Enhancement
packages/doom/src/theme/VersionsNav/index.tsx
Adds download: true property to PDF navigation item object and removes a previously present ESLint suppression comment in the effect cleanup logic.

Estimated code review effort

🎯 2 (Simple) | ⏱️ ~12 minutes

Possibly related PRs

Suggested labels

dependencies, internal

Poem

🐰 ESLint hops to version ten,
TypeScript dances once again,
Rules renamed, configs reordered with care,
Lint directives float through the air—
A major bump marks progress here!

🚥 Pre-merge checks | ✅ 2 | ❌ 1

❌ Failed checks (1 warning)

Check name Status Explanation Resolution
Docstring Coverage ⚠️ Warning Docstring coverage is 0.00% which is insufficient. The required threshold is 80.00%. Write docstrings for the functions missing them to satisfy the coverage threshold.
✅ Passed checks (2 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: upgrading ESLint from v9 to v10 across the project, marked as a breaking change with the '!' indicator.

✏️ 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 chore/bump_eslint

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.

Copy link
Copy Markdown
Contributor

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

Note

Copilot was unable to run its full agentic suite in this review.

This PR updates the repo to ESLint v10 (and aligned ecosystem packages), adjusts ESLint config/rule suppressions to match new rule IDs, and bumps runtime/tooling versions to keep the workspace consistent.

Changes:

  • Bump ESLint to v10 and update related linting ecosystem dependencies (e.g., @eslint/js, @eslint-react/*, typescript-eslint, cspell).
  • Update ESLint config and inline eslint-disable comments to new rule names and disable some rules for MDX.
  • Raise @alauda/doom Node engine requirement and publish a major changeset.

Reviewed changes

Copilot reviewed 12 out of 13 changed files in this pull request and generated 5 comments.

Show a summary per file
File Description
yarn.lock Locks updated dependency graph reflecting ESLint v10 and related bumps.
packages/doom/src/theme/VersionsNav/index.tsx Adds download attribute for PDF nav item and adjusts lint suppression usage.
packages/doom/src/theme/AutoExpandable.tsx Updates inline disable comment to new rule ID.
packages/doom/src/runtime/hooks/useMemoizedFn.ts Removes now-unneeded inline disable for ref assignment.
packages/doom/src/runtime/hooks/useInterval.ts Removes now-unneeded inline disable for ref assignment.
packages/doom/src/runtime/components/Masonry.tsx Adds rule suppression for component factory inside lazy import.
packages/doom/src/runtime/components/K8sPermissionTable.tsx Updates inline disable comment to new rule ID.
packages/doom/src/runtime/components/K8sCrd.tsx Updates inline disable comment to new rule ID.
packages/doom/src/eslint.ts Adapts config generation to ESLint v10 API/surface; adds MDX rule overrides; suppresses TS typing issues.
packages/doom/package.json Bumps lint/tooling deps to match ESLint v10 and raises Node engine requirement.
package.json Bumps workspace tooling deps (ESLint, TS, SWC, Prettier plugin).
eslint.config.js Reorders/react plugin configs and adds conflict-disabling preset; disables additional rules for MDX.
.changeset/five-garlics-rescue.md Publishes a major changeset for the ESLint v10 upgrade.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment thread packages/doom/src/theme/VersionsNav/index.tsx
Comment thread packages/doom/package.json
Comment thread package.json
Comment thread packages/doom/src/eslint.ts Outdated
Comment thread packages/doom/src/eslint.ts Outdated
@JounQin JounQin force-pushed the chore/bump_eslint branch from bafab02 to f4ea005 Compare April 8, 2026 05:28
@pkg-pr-new
Copy link
Copy Markdown

pkg-pr-new Bot commented Apr 8, 2026

Open in StackBlitz

yarn add https://pkg.pr.new/@alauda/doom@301.tgz
yarn add https://pkg.pr.new/@alauda/doom-export@301.tgz

commit: f4ea005

Copy link
Copy Markdown

@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.

Actionable comments posted: 1

🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.

Inline comments:
In `@packages/doom/package.json`:
- Line 14: The package's "node" engine in packages/doom package.json is set to
">=22.18.0" which conflicts with the monorepo baseline and CI matrix; update the
engine to match the monorepo baseline by lowering it to ">=20.19.0" (to align
with packages/export and AGENTS.md) OR, if this is an intentional breaking
change, remove Node 20 from the CI matrix in .github/workflows/ci.yml and add a
note in AGENTS.md documenting the breaking change; make the change consistently
across the repo so the package.json "node" engine and the CI matrix agree.
🪄 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: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: 2f18ab3f-45b8-400a-b69a-624eb637855b

📥 Commits

Reviewing files that changed from the base of the PR and between 4aae629 and bafab02.

⛔ Files ignored due to path filters (1)
  • yarn.lock is excluded by !**/yarn.lock, !**/*.lock
📒 Files selected for processing (12)
  • .changeset/five-garlics-rescue.md
  • eslint.config.js
  • package.json
  • packages/doom/package.json
  • packages/doom/src/eslint.ts
  • packages/doom/src/runtime/components/K8sCrd.tsx
  • packages/doom/src/runtime/components/K8sPermissionTable.tsx
  • packages/doom/src/runtime/components/Masonry.tsx
  • packages/doom/src/runtime/hooks/useInterval.ts
  • packages/doom/src/runtime/hooks/useMemoizedFn.ts
  • packages/doom/src/theme/AutoExpandable.tsx
  • packages/doom/src/theme/VersionsNav/index.tsx
💤 Files with no reviewable changes (2)
  • packages/doom/src/runtime/hooks/useInterval.ts
  • packages/doom/src/runtime/hooks/useMemoizedFn.ts

Comment thread packages/doom/package.json
@JounQin JounQin merged commit 460ae2d into main Apr 8, 2026
14 checks passed
@JounQin JounQin deleted the chore/bump_eslint branch April 8, 2026 05:34
github-actions Bot pushed a commit that referenced this pull request Apr 8, 2026
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