-
-
Notifications
You must be signed in to change notification settings - Fork 12
feat(TS): add types so that rules can be used in TS eslint.config files #394
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
feat(TS): add types so that rules can be used in TS eslint.config files #394
Conversation
🦋 Changeset detectedLatest commit: f5e71b9 The changes in this PR will be included in the next version bump. This PR includes changesets to release 1 package
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 |
Is it enough to update changelog, or changeset bot requires other things to set up? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you for this PR!
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I forgot to submit my comment 😓
This reverts commit 4e45430.
tsconfig.build.json
Outdated
@@ -2,6 +2,7 @@ | |||
"extends": "./tsconfig.json", | |||
"exclude": ["tests/**/*", "tools/**/*"], | |||
"compilerOptions": { | |||
"removeComments": true /* Do not emit comments to output. */ | |||
"removeComments": true, /* Do not emit comments to output. */ |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could you fix the formatting issue?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
let me try from linux
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
We would like to use the plugin to eslint our vue files, but as we are in full TS environment, our eslint.config.ts file need typings for all plugins and this is preventing us to use it.
The project is already using Typescript even for building, it's a pity that type definitions are not published.
Can it be enhanced with these changes, so that types can be available?
I've tested the builded package and it is working fine with our TS configurations, another look at it would be nice.

Thanks in advance.