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
Fix declaration-property-value-no-unknown
false negatives for @starting-style
#7461
Fix declaration-property-value-no-unknown
false negatives for @starting-style
#7461
Conversation
🦋 Changeset detectedLatest commit: 2956d08 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 |
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.
@fpetrakov Thanks for the follow-up pull request! I've commented on the refactoring as @Mouvedia suggested. Can you address it?
declaration-property-value-no-unknown
false negatives for @starting-style
@@ -11,6 +11,9 @@ testRule({ | |||
{ | |||
code: 'a { top: 0; }', | |||
}, | |||
{ | |||
code: 'a { @starting-style { opacity: 0; } }', |
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.
minor nit
- the color property by default
- the red value by default
Since the rest of the examples don't respect it, you don't have to though.
cf https://stylelint.io/developer-guide/rules#write-tests
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. LGTM 👍🏼
Co-authored-by: Richard Hallows <jeddy3@users.noreply.github.com>
None, it's a false negative fix for
declaration-property-value-no-unknown
rule.This false negative is explained here - #7438 (comment)