Fix CI: upgrade ESLint to 10 compatibility#344
Fix CI: upgrade ESLint to 10 compatibility#344Copilot wants to merge 7 commits intodependabot/npm_and_yarn/eslint-10.0.3from
Conversation
Bumps [eslint](https://github.com/eslint/eslint) from 9.39.2 to 10.0.3. - [Release notes](https://github.com/eslint/eslint/releases) - [Commits](eslint/eslint@v9.39.2...v10.0.3) --- updated-dependencies: - dependency-name: eslint dependency-version: 10.0.3 dependency-type: direct:development update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
|
3253b80 to
637e20c
Compare
…o-useless-assignment Co-authored-by: liuliu-dev <6688812+liuliu-dev@users.noreply.github.com>
|
@copilot resolve conflicts |
Co-authored-by: liuliu-dev <6688812+liuliu-dev@users.noreply.github.com>
Resolved in commit |
|
@copilot resolve conflicts |
…onflicts Co-authored-by: liuliu-dev <6688812+liuliu-dev@users.noreply.github.com>
Resolved in commit |
eslint-plugin-github@6.0.0only supportseslint@^8 || ^9, blocking the ESLint 10 upgrade. The flat config wasn't actively using any rules from that plugin (all were turned off), making removal safe.Changes
package.json: Removeeslint-plugin-github; add missing@eslint/js(required by flat config)eslint.config.js: Removeeslint-plugin-githubimport and its unused rule overrides (github/no-inner-html,i18n-text/no-en)global-announce.ts: Fixno-useless-assignmenterror introduced by ESLint 10's new rule — replacedlet+ redundantnullinit withconstdeclarations💬 We'd love your input! Share your thoughts on Copilot coding agent in our 2 minute survey.