Skip to content

update stylelint rules#52

Open
serrazina wants to merge 4 commits intomasterfrom
feature/update-stylelintrc-rules
Open

update stylelint rules#52
serrazina wants to merge 4 commits intomasterfrom
feature/update-stylelintrc-rules

Conversation

@serrazina
Copy link
Copy Markdown
Contributor

No description provided.

Copy link
Copy Markdown

@Narayon Narayon left a 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,
Copy link
Copy Markdown

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.

Copy link
Copy Markdown

@liciniofs liciniofs Oct 10, 2017

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"]
}],
Copy link
Copy Markdown

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.

Copy link
Copy Markdown
Contributor Author

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"],
Copy link
Copy Markdown

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants