Skip to content

feat: add TypeScript IntelliSense support with eslint-typegen #2770

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
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

2nofa11
Copy link

@2nofa11 2nofa11 commented Jun 26, 2025

Summary

Add TypeScript IntelliSense support via eslint-typegen with ESM migration for ESLint v9.0+ compatibility.

Changes

  • Integrate eslint-typegen for TypeScript definitions
  • Convert eslint.config.js to eslint.config.mjs (required for eslint-typegen)
  • Install with --legacy-peer-deps due to ESLint version requirements
  • Update all imports to ESM format

Benefits

  • TypeScript IntelliSense for ESLint configurations
  • Modern ESLint v9.0+ compatibility
  • Improved developer experience with type safety

Screenshot

Before(No TypeScript Support) After(TypeScript IntelliSense Active)
No TypeScript Support TypeScript IntelliSense Active

close #2757

Copy link

changeset-bot bot commented Jun 26, 2025

⚠️ No Changeset found

Latest commit: 73d68c9

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

@2nofa11 2nofa11 force-pushed the add/eslint-typegen branch from 896a67b to 73d68c9 Compare June 26, 2025 12:52
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please update to ESLint v9 in the dev dependencies, so we don't need to use --legacy-peer-deps. This would also fix the Netlify deployment that is currently failing due to that peer dependency mismatch.

Updating that version is irrelevant for users of this package, as ESLint v8 is still supported as a peer dependency. We also run the tests in the CI with ESLint v8, so everything is well tested.

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.

Add TypeScript IntelliSense support with eslint-typegen
2 participants