My configuration files
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

116 lines
6.4 KiB

{
"defaultSeverity": "warning",
"plugins": ["stylelint-scss"],
"rules": {
"at-rule-name-case": "lower",
"at-rule-semicolon-newline-after": "always",
"at-rule-semicolon-space-before": "never",
"block-closing-brace-empty-line-before": "never",
"block-closing-brace-newline-after": "always-single-line",
"block-closing-brace-newline-before": "always-multi-line",
"block-closing-brace-space-before": "always-single-line",
"block-opening-brace-newline-after": "always-multi-line",
"block-opening-brace-space-after": "always-single-line",
"block-opening-brace-space-before": "always-single-line",
"color-hex-case": "upper",
"color-no-invalid-hex": [true, {"severity": "error"}],
"comment-no-empty": true,
"comment-whitespace-inside": "always",
"declaration-bang-space-after": "never",
"declaration-bang-space-before": "always",
"declaration-block-no-duplicate-properties": [true, {"severity": "error"}],
"declaration-block-no-redundant-longhand-properties": true,
"declaration-block-semicolon-newline-after": "always-multi-line",
"declaration-block-semicolon-newline-before": "never-multi-line",
"declaration-block-semicolon-space-after": "always-single-line",
"declaration-block-semicolon-space-before": "never",
"declaration-colon-space-after": "always",
"declaration-colon-space-before": "never",
"declaration-empty-line-before": "never",
"font-family-name-quotes": "always-unless-keyword",
"font-family-no-duplicate-names": [true, {"severity": "error"}],
"font-family-no-missing-generic-family-keyword": true,
"font-weight-notation": "named-where-possible",
"function-calc-no-unspaced-operator": [true, {"severity": "error"}],
"function-comma-newline-before": "never-multi-line",
"function-comma-space-after": "always-single-line",
"function-comma-space-before": "never",
"function-max-empty-lines": 0,
"function-name-case": "lower",
"function-parentheses-space-inside": "never",
"function-url-no-scheme-relative": true,
"function-whitespace-after": "always",
"indentation": [2, {"indentInsideParens": "once-at-root-twice-in-block"}],
"keyframe-declaration-no-important": true,
"length-zero-no-unit": true,
"max-empty-lines": [2, {"ignore": ["comments"]}],
"max-nesting-depth": 5,
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-case": "lower",
"media-feature-name-no-unknown": [true, {"severity": "error"}],
"media-feature-parentheses-space-inside": "never",
"media-feature-range-operator-space-after": ["always", {"severity": "error"}],
"media-feature-range-operator-space-before": ["always", {"severity": "error"}],
"media-query-list-comma-newline-before": "never-multi-line",
"media-query-list-comma-space-after": "never",
"no-duplicate-at-import-rules": [true, {"severity": "error"}],
"no-duplicate-selectors": [true, {"severity": "error"}],
"no-eol-whitespace": [true, {"severity": "error"}],
"no-extra-semicolons": true,
"no-missing-end-of-source-newline": true,
"no-unknown-animations": [true, {"severity": "error"}],
"number-leading-zero": "always",
"number-no-trailing-zeros": true,
"property-case": "lower",
"property-no-unknown": [true, {"checkPrefixed": true}],
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
"scss/at-else-closing-brace-space-after": "always-intermediate",
"scss/at-else-empty-line-before": "never",
"scss/at-else-if-parentheses-space-before": "never",
"scss/at-extend-no-missing-placeholder": [true, {"severity": "error"}],
"scss/at-function-named-arguments": "never",
"scss/at-function-parentheses-space-before": "never",
"scss/at-if-closing-brace-space-after": "always-intermediate",
"scss/at-mixin-argumentless-call-parentheses": "always",
"scss/at-mixin-parentheses-space-before": "never",
"scss/at-rule-no-unknown": [true, {"severity": "error"}],
"scss/declaration-nested-properties": "never",
"scss/declaration-nested-properties-no-divided-groups": true,
"scss/dollar-variable-colon-space-after": "always-single-line",
"scss/dollar-variable-colon-space-before": "never",
"scss/dollar-variable-no-missing-interpolation": [true, {"severity": "error"}],
"scss/operator-no-newline-before": true,
"scss/operator-no-unspaced": [true, {"severity": "error"}],
"scss/selector-no-redundant-nesting-selector": true,
"selector-attribute-brackets-space-inside": "never",
"selector-attribute-operator-space-after": "never",
"selector-attribute-operator-space-before": "never",
"selector-attribute-quotes": "always",
"selector-combinator-space-after": "always",
"selector-combinator-space-before": "always",
"selector-descendant-combinator-no-non-space": true,
"selector-list-comma-newline-before": "never-multi-line",
"selector-list-comma-space-after": "always-single-line",
"selector-list-comma-space-before": "never",
"selector-pseudo-class-case": "lower",
"selector-pseudo-class-no-unknown": [true, {"severity": "error"}],
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-pseudo-element-case": "lower",
"selector-pseudo-element-colon-notation": ["double", {"severity": "error"}],
"selector-pseudo-element-no-unknown": [true, {"severity": "error"}],
"selector-type-case": ["lower", {"ignoreTypes": ["foreignObject"]}],
"selector-type-no-unknown": [true, {"severity": "error", "ignoreTypes": ["foreignObject"]}],
"shorthand-property-no-redundant-values": true,
"string-no-newline": true,
"string-quotes": ["single", {"avoidEscape": true}],
"unit-case": "lower",
"unit-no-unknown": [true, {"severity": "error"}],
"value-keyword-case": "lower",
"value-list-comma-newline-after": "always-multi-line",
"value-list-comma-newline-before": "never-multi-line",
"value-list-comma-space-after": "always",
"value-list-comma-space-before": "never",
"value-list-max-empty-lines": 0
}
}