-
Notifications
You must be signed in to change notification settings - Fork 0
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
update stylelint rules #52
base: master
Are you sure you want to change the base?
Conversation
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.
Do we need to keep updating the rules?
@@ -86,15 +81,13 @@ | |||
"selector-list-comma-space-after": "always-single-line", | |||
"selector-list-comma-space-before": "never", | |||
"selector-max-specificity": "0,4,0", | |||
"selector-no-id": true, | |||
"selector-no-type": true, | |||
"selector-no-universal": true, |
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.
Except the no-type
, I think it makes sense to keep this.
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.
I agree
"no-unknown-animations": true, | ||
"number-leading-zero": "never", | ||
"number-max-precision": 2, | ||
"number-no-trailing-zeros": true, | ||
"rule-non-nested-empty-line-before": ["always", { | ||
"ignore": ["after-comment"] | ||
}], |
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.
This one changed to rule-empty-line-before
and I think it's mandatory.
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.
Ok I will replace that.
@@ -4,7 +4,7 @@ | |||
], | |||
"rules": { | |||
"at-rule-empty-line-before": ["always", { | |||
"except": ["blockless-group", "first-nested"], |
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.
You're missing the blockless-after-same-name-blockless
for the sequencial @import
expressions.
No description provided.