Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

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 ourterms of service andprivacy statement. We’ll occasionally send you account related emails.

Already on GitHub?Sign in to your account

Merged
FloEdelmann merged 6 commits intovuejs:masterfrom2nofa11:add/eslint-typegen
Jul 2, 2025

Conversation

@2nofa11
Copy link
Contributor

@2nofa112nofa11 commentedJun 26, 2025
edited
Loading

Summary

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

Changes

  • Integrateeslint-typegen for TypeScript definitions
  • Converteslint.config.js toeslint.config.mjs (required for eslint-typegen)
  • 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 SupportTypeScript IntelliSense Active

close#2757

FloEdelmann, MartinX3, and natsuki-engr reacted with thumbs up emoji
@changeset-bot
Copy link

changeset-botbot commentedJun 26, 2025
edited
Loading

🦋 Changeset detected

Latest commit:9e53387

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
NameType
eslint-plugin-vueMinor

Not sure what this means?Click here to learn what changesets are.

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

@ota-meshi
Copy link
Member

Thank you for this PR!
Furthermore, can you make it so that we can provide rule types from this package using the low-level API?
https://github.com/antfu/eslint-typegen/blob/main/README.md#low-level-api

2nofa11 reacted with thumbs up emoji

@2nofa11
Copy link
ContributorAuthor

@ota-meshi
I've implemented rule type generation using eslint-typegen's low-level API. (856784e)

Implementation:

  • Addednpm run typegen command (like that@antfu/eslint-config)
  • UsespluginsToRulesDTS fromeslint-typegen/core
  • Generated filelib/eslint-typegen.d.ts is currently gitignored

Should I also add lib/eslint-typegen.d.ts to this PR, or would you prefer CI automation for the distribution strategy?

Copy link
Member

@ota-meshiota-meshi left a comment

Choose a reason for hiding this comment

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

LGTM! Thank you!

Copy link
Member

@FloEdelmannFloEdelmann left a comment

Choose a reason for hiding this comment

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

Looks good to me, too. Thank you 🙂

2nofa11 reacted with heart emoji
@FloEdelmannFloEdelmann merged commit4cf87be intovuejs:masterJul 2, 2025
12 checks passed
@github-actionsgithub-actionsbot mentioned this pull requestJul 2, 2025
Sign up for freeto join this conversation on GitHub. Already have an account?Sign in to comment

Reviewers

@FloEdelmannFloEdelmannFloEdelmann approved these changes

@ota-meshiota-meshiota-meshi approved these changes

Assignees

No one assigned

Labels

None yet

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Add TypeScript IntelliSense support with eslint-typegen

3 participants

@2nofa11@ota-meshi@FloEdelmann

[8]ページ先頭

©2009-2025 Movatter.jp