Skip to content

Update eslint from 8.57.1 to 10.0.3#40

Merged
fastjames merged 1 commit intomasterfrom
update-eslint
Mar 26, 2026
Merged

Update eslint from 8.57.1 to 10.0.3#40
fastjames merged 1 commit intomasterfrom
update-eslint

Conversation

@fastjames
Copy link
Copy Markdown

Summary

  • Upgrade ESLint from 8.57.1 to 10.0.3, which requires migrating from the legacy .eslintrc.json format to flat config (eslint.config.js)
  • Remove eslint-plugin-github (incompatible with ESLint 10; its internal config only provided 3 DOM-related rules not applicable to this project)
  • Update @typescript-eslint/eslint-plugin and @typescript-eslint/parser to 8.57.2, eslint-plugin-jest to 29.x, and add globals package

Test plan

  • npm run lint passes with no errors
  • npm test — all 37 tests pass
  • npm run build compiles successfully

ESLint 10 drops the legacy eslintrc format, so migrate to flat config.
- Replace .eslintrc.json and .eslintignore with eslint.config.js
- Remove eslint-plugin-github (incompatible with eslint 10; its internal
  config only provided 3 DOM rules unused by this project)
- Update @typescript-eslint/* to 8.57.2 and eslint-plugin-jest to 29.x
- Add globals package for environment globals in flat config
@coderabbitai
Copy link
Copy Markdown

coderabbitai Bot commented Mar 25, 2026

Important

Review skipped

Auto reviews are disabled on this repository. Please check the settings in the CodeRabbit UI or the .coderabbit.yaml file in this repository. To trigger a single review, invoke the @coderabbitai review command.

⚙️ Run configuration

Configuration used: Organization UI

Review profile: CHILL

Plan: Pro

Run ID: c888c19f-d030-4229-8212-5f09e80d1033

You can disable this status message by setting the reviews.review_status to false in the CodeRabbit configuration file.

Use the checkbox below for a quick retry:

  • 🔍 Trigger review
✨ Finishing Touches
🧪 Generate unit tests (beta)
  • Create PR with unit tests
  • Commit unit tests in branch update-eslint

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

@fastjames fastjames requested a review from k1bs March 25, 2026 19:17
Copy link
Copy Markdown
Collaborator

@k1bs k1bs left a comment

Choose a reason for hiding this comment

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

🍰 Anything for a smaller package-lock, haha.

@fastjames fastjames merged commit 898f092 into master Mar 26, 2026
12 checks passed
@fastjames fastjames deleted the update-eslint branch March 26, 2026 15:21
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