Skip to content

update stylelint rules#52

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

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

Conversation

@serrazina

Copy link
Copy Markdown
Contributor

No description provided.

@Narayon Narayon left a 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.

Do we need to keep updating the rules?

Comment thread .stylelintrc
"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.

@liciniofs liciniofs Oct 10, 2017

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I agree

Comment thread .stylelintrc
"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.

Comment thread .stylelintrc
],
"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