2019-03-11 15:26:11 +01:00
|
|
|
{
|
|
|
|
"extends": "stylelint-config-standard",
|
|
|
|
"ignoreFiles": [
|
2019-05-03 19:20:48 +02:00
|
|
|
"./assets/css/*.css",
|
|
|
|
"./assets/scss/*.scss",
|
|
|
|
"./assets/scss/vendor/*.scss"
|
2019-03-11 15:26:11 +01:00
|
|
|
],
|
|
|
|
"plugins": [
|
|
|
|
"stylelint-order"
|
|
|
|
],
|
|
|
|
"rules": {
|
|
|
|
"at-rule-empty-line-before": ["always", {
|
|
|
|
"except": [
|
|
|
|
"first-nested"
|
|
|
|
],
|
|
|
|
"ignore": [
|
|
|
|
"after-comment"
|
|
|
|
],
|
|
|
|
"ignoreAtRules": [
|
|
|
|
"if", "import", "include", "else", "extend", "media"
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
"at-rule-name-space-after": "always",
|
|
|
|
"at-rule-no-unknown": null,
|
|
|
|
"at-rule-no-vendor-prefix": true,
|
|
|
|
"at-rule-semicolon-space-before": "never",
|
|
|
|
"block-closing-brace-newline-after": ["always", {
|
|
|
|
"ignoreAtRules": [
|
|
|
|
"if"
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
"color-hex-case": "lower",
|
|
|
|
"color-hex-length": "short",
|
|
|
|
"color-named": "never",
|
|
|
|
"comment-whitespace-inside": "always",
|
|
|
|
"declaration-block-trailing-semicolon": "always",
|
|
|
|
"declaration-colon-space-before": "never",
|
|
|
|
"declaration-colon-space-after": "always",
|
|
|
|
"indentation": 4,
|
|
|
|
"media-feature-range-operator-space-before": "always",
|
|
|
|
"media-feature-range-operator-space-after": "always",
|
|
|
|
"media-feature-parentheses-space-inside": "never",
|
|
|
|
"media-feature-colon-space-before": "never",
|
|
|
|
"media-feature-colon-space-after": "always",
|
2019-04-24 23:16:15 +02:00
|
|
|
"no-descending-specificity": true,
|
2019-03-11 15:26:11 +01:00
|
|
|
"no-duplicate-selectors": true,
|
|
|
|
"number-leading-zero": "always",
|
|
|
|
"order/properties-order": [
|
|
|
|
"position",
|
|
|
|
"top",
|
|
|
|
"right",
|
|
|
|
"bottom",
|
|
|
|
"left",
|
|
|
|
"z-index",
|
|
|
|
"display",
|
|
|
|
"visibility",
|
|
|
|
"float",
|
|
|
|
"clear",
|
|
|
|
"overflow",
|
|
|
|
"overflow-x",
|
|
|
|
"overflow-y",
|
|
|
|
"clip",
|
|
|
|
"align-content",
|
|
|
|
"align-items",
|
|
|
|
"align-self",
|
|
|
|
"flex",
|
|
|
|
"flex-flow",
|
|
|
|
"flex-basis",
|
|
|
|
"flex-direction",
|
|
|
|
"flex-grow",
|
|
|
|
"flex-shrink",
|
|
|
|
"flex-wrap",
|
|
|
|
"justify-content",
|
|
|
|
"order",
|
|
|
|
"box-sizing",
|
|
|
|
"margin",
|
|
|
|
"margin-top",
|
|
|
|
"margin-right",
|
|
|
|
"margin-bottom",
|
|
|
|
"margin-left",
|
|
|
|
"padding",
|
|
|
|
"padding-top",
|
|
|
|
"padding-right",
|
|
|
|
"padding-bottom",
|
|
|
|
"padding-left",
|
|
|
|
"min-width",
|
|
|
|
"min-height",
|
|
|
|
"max-width",
|
|
|
|
"max-height",
|
|
|
|
"width",
|
|
|
|
"height",
|
|
|
|
"outline",
|
|
|
|
"outline-width",
|
|
|
|
"outline-style",
|
|
|
|
"outline-color",
|
|
|
|
"outline-offset",
|
|
|
|
"border",
|
|
|
|
"border-spacing",
|
|
|
|
"border-collapse",
|
|
|
|
"border-width",
|
|
|
|
"border-style",
|
|
|
|
"border-color",
|
|
|
|
"border-top",
|
|
|
|
"border-top-width",
|
|
|
|
"border-top-style",
|
|
|
|
"border-top-color",
|
|
|
|
"border-right",
|
|
|
|
"border-right-width",
|
|
|
|
"border-right-style",
|
|
|
|
"border-right-color",
|
|
|
|
"border-bottom",
|
|
|
|
"border-bottom-width",
|
|
|
|
"border-bottom-style",
|
|
|
|
"border-bottom-color",
|
|
|
|
"border-left",
|
|
|
|
"border-left-width",
|
|
|
|
"border-left-style",
|
|
|
|
"border-left-color",
|
|
|
|
"border-radius",
|
|
|
|
"border-top-left-radius",
|
|
|
|
"border-top-right-radius",
|
|
|
|
"border-bottom-right-radius",
|
|
|
|
"border-bottom-left-radius",
|
|
|
|
"border-image",
|
|
|
|
"border-image-source",
|
|
|
|
"border-image-slice",
|
|
|
|
"border-image-width",
|
|
|
|
"border-image-outset",
|
|
|
|
"border-image-repeat",
|
|
|
|
"border-top-image",
|
|
|
|
"border-right-image",
|
|
|
|
"border-bottom-image",
|
|
|
|
"border-left-image",
|
|
|
|
"border-corner-image",
|
|
|
|
"border-top-left-image",
|
|
|
|
"border-top-right-image",
|
|
|
|
"border-bottom-right-image",
|
|
|
|
"border-bottom-left-image",
|
|
|
|
"background",
|
|
|
|
"background-color",
|
|
|
|
"background-image",
|
|
|
|
"background-attachment",
|
|
|
|
"background-position",
|
|
|
|
"background-position-x",
|
|
|
|
"background-position-y",
|
|
|
|
"background-clip",
|
|
|
|
"background-origin",
|
|
|
|
"background-size",
|
|
|
|
"background-repeat",
|
|
|
|
"box-decoration-break",
|
|
|
|
"box-shadow",
|
|
|
|
"color",
|
|
|
|
"table-layout",
|
|
|
|
"caption-side",
|
|
|
|
"empty-cells",
|
|
|
|
"list-style",
|
|
|
|
"list-style-position",
|
|
|
|
"list-style-type",
|
|
|
|
"list-style-image",
|
|
|
|
"quotes",
|
|
|
|
"content",
|
|
|
|
"counter-increment",
|
|
|
|
"counter-reset",
|
|
|
|
"vertical-align",
|
|
|
|
"text-align",
|
|
|
|
"text-align-last",
|
|
|
|
"text-decoration",
|
|
|
|
"text-emphasis",
|
|
|
|
"text-emphasis-position",
|
|
|
|
"text-emphasis-style",
|
|
|
|
"text-emphasis-color",
|
|
|
|
"text-indent",
|
|
|
|
"text-justify",
|
|
|
|
"text-outline",
|
|
|
|
"text-transform",
|
|
|
|
"text-wrap",
|
|
|
|
"text-overflow",
|
|
|
|
"text-overflow-ellipsis",
|
|
|
|
"text-overflow-mode",
|
|
|
|
"text-shadow",
|
|
|
|
"white-space",
|
|
|
|
"word-spacing",
|
|
|
|
"word-wrap",
|
|
|
|
"word-break",
|
|
|
|
"tab-size",
|
|
|
|
"hyphens",
|
|
|
|
"letter-spacing",
|
|
|
|
"font",
|
|
|
|
"font-weight",
|
|
|
|
"font-style",
|
|
|
|
"font-variant",
|
|
|
|
"font-size-adjust",
|
|
|
|
"font-stretch",
|
|
|
|
"font-size",
|
|
|
|
"font-family",
|
|
|
|
"src",
|
|
|
|
"line-height",
|
|
|
|
"opacity",
|
|
|
|
"filter",
|
|
|
|
"resize",
|
|
|
|
"cursor",
|
|
|
|
"nav-index",
|
|
|
|
"nav-up",
|
|
|
|
"nav-right",
|
|
|
|
"nav-down",
|
|
|
|
"nav-left",
|
|
|
|
"transition",
|
|
|
|
"transition-delay",
|
|
|
|
"transition-timing-function",
|
|
|
|
"transition-duration",
|
|
|
|
"transition-property",
|
|
|
|
"transform",
|
|
|
|
"transform-origin",
|
|
|
|
"animation",
|
|
|
|
"animation-name",
|
|
|
|
"animation-duration",
|
|
|
|
"animation-play-state",
|
|
|
|
"animation-timing-function",
|
|
|
|
"animation-delay",
|
|
|
|
"animation-iteration-count",
|
|
|
|
"animation-direction",
|
|
|
|
"pointer-events",
|
|
|
|
"unicode-bidi",
|
|
|
|
"direction",
|
|
|
|
"columns",
|
|
|
|
"column-span",
|
|
|
|
"column-width",
|
|
|
|
"column-count",
|
|
|
|
"column-fill",
|
|
|
|
"column-gap",
|
|
|
|
"column-rule",
|
|
|
|
"column-rule-width",
|
|
|
|
"column-rule-style",
|
|
|
|
"column-rule-color",
|
|
|
|
"break-before",
|
|
|
|
"break-inside",
|
|
|
|
"break-after",
|
|
|
|
"page-break-before",
|
|
|
|
"page-break-inside",
|
|
|
|
"page-break-after",
|
|
|
|
"orphans",
|
|
|
|
"widows",
|
|
|
|
"zoom",
|
|
|
|
"max-zoom",
|
|
|
|
"min-zoom",
|
|
|
|
"user-zoom",
|
|
|
|
"orientation",
|
|
|
|
"unicode-range",
|
2021-05-11 23:12:31 +02:00
|
|
|
"user-select"
|
2019-03-11 15:26:11 +01:00
|
|
|
],
|
|
|
|
"rule-empty-line-before": ["always", {
|
2019-04-24 23:16:15 +02:00
|
|
|
"except": [
|
|
|
|
"after-single-line-comment"
|
|
|
|
],
|
2019-03-11 15:26:11 +01:00
|
|
|
"ignore": [
|
|
|
|
"inside-block"
|
|
|
|
]
|
|
|
|
}],
|
|
|
|
"selector-combinator-space-after": "always",
|
|
|
|
"selector-list-comma-newline-after": "always-multi-line",
|
|
|
|
"selector-pseudo-element-colon-notation": "double",
|
2020-02-14 15:02:15 +01:00
|
|
|
"string-quotes": "single",
|
|
|
|
"value-keyword-case": ["lower", {
|
|
|
|
"ignoreProperties": [
|
|
|
|
"/^\\$/"
|
|
|
|
]
|
|
|
|
}]
|
2019-03-11 15:26:11 +01:00
|
|
|
}
|
|
|
|
}
|