Skip to content

chore: upgrade ESLint 8→9, migrate to flat config#42

Merged
sundancekid73 merged 2 commits into
mainfrom
chore/eslint-upgrade
May 20, 2026
Merged

chore: upgrade ESLint 8→9, migrate to flat config#42
sundancekid73 merged 2 commits into
mainfrom
chore/eslint-upgrade

Conversation

@sundancekid73
Copy link
Copy Markdown
Collaborator

Summary

  • Upgrade eslint ^8 → ^9, eslint-plugin-vue ^8 → ^10, @vue/eslint-config-prettier ^9 → ^10
  • Replace legacy eslintConfig in package.json and src/.eslintrc.js with eslint.config.mjs (ESLint 9 flat config format)
  • Add vue-eslint-parser and globals as direct devDependencies (required by pnpm's strict package isolation)
  • Switch to flat/vue2-essential preset (correct preset for a Vue 2 project)
  • Update lint script: --ext flag was removed in ESLint 9, changed to eslint src
  • Silence vue/no-reserved-component-names for Header component — renaming is a separate follow-up task

Test plan

  • pnpm lint passes with no errors
  • pnpm build compiles without issues

🤖 Generated with Claude Code

sundancekid73 and others added 2 commits May 20, 2026 19:14
- Upgrade eslint ^8→^9, eslint-plugin-vue ^8→^10, @vue/eslint-config-prettier ^9→^10
- Add globals, vue-eslint-parser as direct devDependencies (required by pnpm strict resolution)
- Replace eslintConfig in package.json and src/.eslintrc.js with eslint.config.mjs (flat config)
- Switch to flat/vue2-essential config preset (Vue 2 project)
- Update lint script: drop --ext flag (removed in ESLint 9), use eslint src directly
- Silence vue/no-reserved-component-names for Header component (rename is separate task)

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
…tensions option to ESLint 9

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
@sundancekid73 sundancekid73 merged commit 17199ae into main May 20, 2026
3 checks passed
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.

1 participant