vuejs/eslint-plugin-vue

Upgrade ESLint from v8 to v9

Closed this issue · 1 comments

Summary

Upgrade ESLint from v8 to v9 to support the latest features and enable eslint-typegen integration.

Motivation

  • Required for eslint-typegen compatibility (depends on ESLint v9)
  • Better compatibility with modern tooling ecosystem

Changes needed

  • Upgrade ESLint to v9.x
  • Update @typescript-eslint/parser to v8.x for compatibility
  • Update @types/eslint to v9.x
  • Fix TypeScript compilation errors due to @typescript-eslint API

Related work

This upgrade is a prerequisite for eslint-typegen integration which will provide TypeScript definitions and IntelliSense for ESLint rule configurations. (#2757)

If we were to make a breaking change to this package, there would be other things I would like to do.
For example, I would like to change this plugin to the ESLint language plugin.
https://eslint.org/docs/latest/extend/languages
Changing to the language plugin would allow to use directive comments such as <!-- eslint vue/attribute-hyphenation: off -->.

When I have time, I will list the breaking changes I would like to make to this plugin.