-
Notifications
You must be signed in to change notification settings - Fork 0
update stylelint rules #52
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
base: master
Are you sure you want to change the base?
Conversation
Narayon
left a 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.
Do we need to keep updating the rules?
| "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
| "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.
| ], | ||
| "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.