-
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?
Changes from 1 commit
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -4,7 +4,7 @@ | |
], | ||
"rules": { | ||
"at-rule-empty-line-before": ["always", { | ||
"except": ["blockless-group", "first-nested"], | ||
"except": ["first-nested"], | ||
"ignore": ["after-comment"] | ||
}], | ||
"block-closing-brace-newline-after": "always", | ||
|
@@ -27,7 +27,6 @@ | |
"declaration-bang-space-before": "always", | ||
"declaration-block-no-duplicate-properties": true, | ||
"declaration-block-no-shorthand-property-overrides": true, | ||
"declaration-block-properties-order": "alphabetical", | ||
"declaration-block-semicolon-newline-after": "always-multi-line", | ||
"declaration-block-semicolon-space-after": "always-single-line", | ||
"declaration-block-semicolon-space-before": "never", | ||
|
@@ -37,6 +36,7 @@ | |
"declaration-colon-space-after": "always-single-line", | ||
"declaration-colon-space-before": "never", | ||
"declaration-no-important": true, | ||
"font-family-no-duplicate-names" : true, | ||
"font-family-name-quotes": "always-where-recommended", | ||
"font-weight-notation": "numeric", | ||
"function-calc-no-unspaced-operator": true, | ||
|
@@ -58,25 +58,20 @@ | |
"max-nesting-depth": 3, | ||
"media-feature-colon-space-after": "always", | ||
"media-feature-colon-space-before": "never", | ||
"media-feature-no-missing-punctuation": true, | ||
"media-feature-range-operator-space-after": "always", | ||
"media-feature-range-operator-space-before": "always", | ||
"media-query-list-comma-newline-after": "always-multi-line", | ||
"media-query-list-comma-space-after": "always-single-line", | ||
"media-query-list-comma-space-before": "never", | ||
"media-query-parentheses-space-inside": "never", | ||
"no-descending-specificity": true, | ||
"no-duplicate-selectors": true, | ||
"no-eol-whitespace": true, | ||
"no-invalid-double-slash-comments": true, | ||
"no-missing-eof-newline": true, | ||
"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 commentThe reason will be displayed to describe this comment to others. Learn more. This one changed to There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Ok I will replace that. |
||
"property-no-unknown": true, | ||
"scss/at-import-no-partial-leading-underscore": true, | ||
"scss/selector-no-redundant-nesting-selector": true, | ||
"selector-combinator-space-after": "always", | ||
|
@@ -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 commentThe reason will be displayed to describe this comment to others. Learn more. Except the There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I agree |
||
"selector-no-vendor-prefix": true, | ||
"selector-pseudo-element-colon-notation": "double", | ||
"selector-type-case": "lower", | ||
"shorthand-property-no-redundant-values": true, | ||
"string-no-newline": true, | ||
"string-quotes": "double", | ||
"time-no-imperceptible": true, | ||
"unit-no-unknown" : true, | ||
"value-list-comma-newline-after": "always-multi-line", | ||
"value-list-comma-newline-before": "never-multi-line", | ||
"value-list-comma-space-after": "always-single-line", | ||
|
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.