Skip to content

feat: Added the no-unused-class-name rule using parser services #489

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 37 commits into from
Jun 19, 2023
Merged

feat: Added the no-unused-class-name rule using parser services #489

merged 37 commits into from
Jun 19, 2023

Conversation

marekdedic
Copy link
Contributor

Alternative proposal to #402, see sveltejs/svelte-eslint-parser#318 (comment)

@changeset-bot
Copy link

changeset-bot bot commented May 22, 2023

🦋 Changeset detected

Latest commit: b7fb1b0

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-svelte 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

@marekdedic marekdedic marked this pull request as draft May 22, 2023 21:02
@marekdedic marekdedic marked this pull request as ready for review June 11, 2023 18:46
@marekdedic
Copy link
Contributor Author

There seems to be some error produced by prettier for tests/fixtures/rules/no-unused-class-name/valid/unknown-lang01-input.svelte, I haven't figured out how to get rid of it...

@marekdedic marekdedic requested a review from ota-meshi June 18, 2023 15:08
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.

LGTM! Thank you for many improvements and implementation of this rule.

@ota-meshi ota-meshi merged commit cc321f4 into sveltejs:main Jun 19, 2023
@marekdedic marekdedic deleted the no-unused-class-name-parser-services branch June 19, 2023 11:42
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