Skip to content

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

Merged
merged 6 commits into from
May 21, 2025

Conversation

dvelluto
Copy link
Contributor

@dvelluto dvelluto commented May 20, 2025

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.
image

Thanks in advance.

Copy link

changeset-bot bot commented May 20, 2025

🦋 Changeset detected

Latest commit: f5e71b9

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

This PR includes changesets to release 1 package
Name Type
eslint-plugin-vue-scoped-css Minor

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

@dvelluto
Copy link
Contributor Author

Is it enough to update changelog, or changeset bot requires other things to set up?

Copy link
Member

@ota-meshi ota-meshi left a 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!

Copy link
Member

@ota-meshi ota-meshi left a 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.
@dvelluto dvelluto requested a review from ota-meshi May 21, 2025 05:41
@@ -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. */
Copy link
Member

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?

Copy link
Contributor Author

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

@dvelluto dvelluto requested a review from ota-meshi May 21, 2025 08:12
Copy link
Member

@ota-meshi ota-meshi left a comment

Choose a reason for hiding this comment

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

Thank you!

@ota-meshi ota-meshi merged commit b074b14 into future-architect:master May 21, 2025
10 checks passed
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.

2 participants