chore(deps): upgrade eslint to v10, drop unmaintained eslint-plugin-solid#355
chore(deps): upgrade eslint to v10, drop unmaintained eslint-plugin-solid#355
Conversation
eslint-plugin-solid is unmaintained (last release Dec 2024, no ESLint v10 support planned — see solidjs-community/eslint-plugin-solid#200, #203). - Bump eslint 9.39.3 → 10.1.0 and @eslint/js 9.39.3 → 10.0.1 - Remove eslint-plugin-solid (no maintained alternative exists) - Disable no-unassigned-vars (incompatible with SolidJS ref pattern) - Remove stale solid/reactivity eslint-disable comments - Fix no-useless-assignment in RecordingSelector sort logic
Summary of ChangesHello, I'm Gemini Code Assist1! I'm currently reviewing this pull request and will post my feedback shortly. In the meantime, here's a summary to help you and other reviewers quickly get up to speed! This pull request focuses on a significant maintenance update by upgrading the project's ESLint dependency to its major version 10. This upgrade was accompanied by the removal of the Highlights
Using Gemini Code AssistThe full guide for Gemini Code Assist can be found on our documentation page, here are some quick tips. Invoking Gemini You can request assistance from Gemini at any point by creating a comment using either
Customization To customize Gemini Code Assist for GitHub experience, repository maintainers can create a configuration file and/or provide a custom code review style guide (such as PEP-8 for Python) by creating and adding files to a Limitations & Feedback Gemini Code Assist may make mistakes. Please leave feedback on any instances where its feedback is incorrect or counter productive. You can react with 👍 and 👎 on @gemini-code-assist comments. If you're interested in giving your feedback about your experience with Gemini Code Assist for GitHub and other Google products, sign up here. Footnotes
|
There was a problem hiding this comment.
Code Review
The pull request performs a major upgrade of ESLint from version 9 to 10, which involved significant changes to the ESLint configuration in ui/eslint.config.js. This included removing the eslint-plugin-solid package and its associated rules, adding an ignores array for specific files, and explicitly disabling the no-unassigned-vars rule to accommodate SolidJS ref patterns. Corresponding dependency updates were made in ui/package.json and ui/package-lock.json. Minor TypeScript type annotations were also adjusted, and eslint-disable-next-line comments related to solid/reactivity were removed, as they are no longer necessary with the updated linting setup.
Coverage Report for ui
File Coverage
|
||||||||||||||||||||||||||||||||||||||||||||
Summary
eslint-plugin-solid— unmaintained since Dec 2024 with no ESLint v10 support (#200, #203)no-unassigned-vars(new v10 rule incompatible with SolidJS'srefpattern)solid/reactivityeslint-disable commentsno-useless-assignmentin RecordingSelector sort logicThe most valuable rules lost are
solid/reactivityandsolid/no-destructure, but there is no maintained alternative. TypeScript covers most of the other checks.Test plan
npx eslint .— 0 errors, 4 pre-existing warningsnpx vite build— passesnpx vitest run— 1494 tests pass