Skip to content

Add TypeScript IntelliSense support with eslint-typegen #2757

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
2nofa11 opened this issue Jun 10, 2025 · 1 comment
Open

Add TypeScript IntelliSense support with eslint-typegen #2757

2nofa11 opened this issue Jun 10, 2025 · 1 comment

Comments

@2nofa11
Copy link

2nofa11 commented Jun 10, 2025

Summary

Add eslint-typegen integration to provide TypeScript definitions and IntelliSense for ESLint rule configurations.

Motivation

  • Improve developer experience with TypeScript IntelliSense
  • Provide type safety for ESLint configuration
  • Reduce configuration errors through better tooling support

Dependencies

Requires ESLint v9 upgrade (#2756)

Benefits

  • Full TypeScript IntelliSense for all ESLint rules
  • Type safety prevents configuration errors
@ota-meshi
Copy link
Member

Thanks for looking into introducing eslint-typegen into eslint-plugin-vue!

However, I believe the ESLint upgrade will not be blocking.
ESLint v9 is required to generate types using eslint-typegen and for users to define types using eslint-typegen.
But I don't think we will force users to use ESLint v9 to publish types generated by eslint-typegen with eslint-plugin-vue.

That being said, I think it will be easier to introduce eslint-typegen after upgrading to ESLint v9. Because it is sometimes difficult to keep CI working with incompatible devDeps 😓

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

No branches or pull requests

2 participants