Skip to content
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

Omit css-unused-selector when options.css is false, not true #127

Merged
merged 1 commit into from
Oct 6, 2020

Conversation

mustafa0x
Copy link
Contributor

@mustafa0x mustafa0x commented Sep 2, 2020

See: #94 (comment)

Fixes #94

Copy link
Member

@benmccann benmccann left a comment

Choose a reason for hiding this comment

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

Ok, to summarize since it took me a little while to read through the various threads: if you're not generating css then you shouldn't get css warnings. That makes sense to me. Rich initially implemented it that way and it looks like someone else accidentally changed it later. This PR lgtm

Thank you for the fix!

@benmccann benmccann merged commit 3a0c4a7 into sveltejs:master Oct 6, 2020
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.

Unused CSS Selector warning not appearing
2 participants