-
-
Notifications
You must be signed in to change notification settings - Fork 1
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: no-unknown-at-rules -> no-invalid-at-rules #12
Conversation
Looks ace! Can I ask if the ambition is to integrate more specific validity cases (not caught by csstree) into this rule or add separate rules for those? For example,
It'd catch an easy mistake for people to make. |
I honestly haven't thought that far ahead yet. 😄 I could imagine wanting that check in this rule, but I'm not 100% sure yet. I'd like to just start with what csstree is providing for the first version and then think about things a bit more once we've got some feedback. |
There are merge conflicts now. Also, some tests were failing. |
ad53575
to
7128750
Compare
3612be5
to
213f3f9
Compare
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.
LGTM, thanks!
I'm only not sure if we would want to remove unused function isSyntaxReferenceError
, and if this really needs to be merged with the feat!
tag since the first version of this package has not been released yet and a similar kind of change #11 was merged with just the feat
tag.
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.
LGTM, thanks! I'd merge this but still not sure if we want to use the feat!
tag or maybe just feat
.
Just a quick +1 for the name change. We have an inconsistent mix of |
@mdjermanovic good point! Because this package hasn't been released yet, "feat" makes more sense. |
Prerequisites checklist
What is the purpose of this pull request?
Renamed
no-unknown-at-rules
tono-invalid-at-rules
to cover more cases.What changes did you make? (Give an overview)
no-unknown-at-rules.*
tono-invalid-at-rules.*
Related Issues
Is there anything you'd like reviewers to focus on?
There are type errors that will be resolved once #11 is merged and I can rebase on top of it.