programmingfonts/.stylelintrc
2020-01-10 22:01:07 +01:00

124 lines
4.2 KiB
Plaintext

{
"plugins": [
"stylelint-order"
],
"rules": {
"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",
"block-closing-brace-newline-before": "always-multi-line",
"block-closing-brace-space-before": "always-single-line",
"block-no-empty": true,
"color-hex-case": ["upper", { "severity": "warning" }],
"color-hex-length": ["short", { "severity": "warning" }],
"color-named": "never",
"color-no-invalid-hex": true,
"comment-no-empty": true,
"font-family-name-quotes": "always-unless-keyword",
"font-family-no-duplicate-names": true,
"font-family-no-missing-generic-family-keyword": true,
"function-calc-no-unspaced-operator": true,
"indentation": [4, { "severity": "warning" }],
"length-zero-no-unit": [true, { "severity": "warning" }],
"linebreaks": "unix",
"media-feature-colon-space-after": "always",
"media-feature-colon-space-before": "never",
"media-feature-name-no-unknown": true,
"no-duplicate-at-import-rules": true,
"no-duplicate-selectors": true,
"no-empty-source": true,
"no-extra-semicolons": true,
"no-invalid-double-slash-comments": true,
"no-missing-end-of-source-newline": true,
"number-no-trailing-zeros": true,
"property-case": "lower",
"property-no-unknown": 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-after": "always",
"selector-list-comma-space-before": "never",
"selector-pseudo-class-case": "lower",
"selector-pseudo-class-no-unknown": true,
"selector-pseudo-class-parentheses-space-inside": "never",
"selector-pseudo-element-case": "lower",
"selector-pseudo-element-no-unknown": true,
"selector-type-case": "lower",
"selector-type-no-unknown": true,
"string-no-newline": true,
"string-quotes": "single",
"unit-case": "lower",
"unit-no-unknown": true,
"value-keyword-case": "lower",
"order/properties-order": [
"content",
"list-style",
"display",
"flex-direction",
"align-items",
"justify-content",
"grid-column-gap",
"grid-row-gap",
"grid-row-gap",
"grid-template-columns",
"width",
"min-width",
"max-width",
"height",
"min-height",
"max-height",
"float",
"position",
"clear",
"top",
"right",
"bottom",
"left",
"z-index",
"margin",
"margin-top",
"margin-right",
"margin-bottom",
"margin-left",
"padding",
"padding-top",
"padding-right",
"padding-bottom",
"padding-left",
"border",
"border-top",
"border-right",
"border-bottom",
"border-left",
"border-radius",
"font-family",
"font-weight",
"font-size",
"font-style",
"line-height",
"text-transform",
"text-decoration",
"letter-spacing",
"hyphens",
"background",
"background-color",
"background-image",
"background-repeat",
"background-position",
"background-size",
"color",
"text-shadow",
"box-shadow",
"transform",
"will-change",
"animation",
"transition"
]
}
}