-
-
Notifications
You must be signed in to change notification settings - Fork 942
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
Added: selector-max-universal
rule.
#2653
Conversation
c7616f4
to
d4c5d58
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.
Good job!
Please, remove package.json
from PR.
column: 1, | ||
}, { | ||
code: "*, \n* * * {}", | ||
description: "multiple selectors: greater than max classes", |
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.
"multiple selectors: greater than max universal selectors"
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.
@evilebottnawi Thanks!
|
||
```css | ||
/* each selector in a selector list is evaluated separately */ | ||
*.foo *, |
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.
Please change to:
*.foo,
*.bar * {}
That that only three (one more than the max) universal selectors are used.
``` | ||
|
||
```css | ||
/* `*` is inside `:not()`, so it is evaluated separately */ |
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.
Please change to:
* > * .foo:not(*) {}
@hudochenkov I've made the changes if you'd like to look them over? |
@jeddy3 looks good. Thanks! |
f7ccdda
to
ebecce3
Compare
ebecce3
to
8aa12c0
Compare
|
#2528
No, it's self explanatory.