eslint-plugin-vue icon indicating copy to clipboard operation
eslint-plugin-vue copied to clipboard

Upgrade ESLint from v8 to v9

Open 2nofa11 opened this issue 6 months ago • 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. (https://github.com/vuejs/eslint-plugin-vue/issues/2757)

2nofa11 avatar Jun 10 '25 12:06 2nofa11

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.

ota-meshi avatar Jun 11 '25 08:06 ota-meshi