247 lines
6.2 KiB
JSON
247 lines
6.2 KiB
JSON
{
|
|
"extends": [
|
|
"stylelint-config-standard",
|
|
"stylelint-config-recommended-scss",
|
|
"stylelint-config-recess-order",
|
|
"stylelint-config-html/vue"
|
|
],
|
|
"rules": {
|
|
"no-descending-specificity": null,
|
|
"selector-class-pattern": null,
|
|
"keyframes-name-pattern": null,
|
|
"unit-no-unknown": null,
|
|
"selector-type-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreTypes": ["page"]
|
|
}
|
|
],
|
|
"color-hex-length": null,
|
|
"order/properties-order": [
|
|
true,
|
|
{
|
|
"properties": [
|
|
"position",
|
|
"top",
|
|
"right",
|
|
"bottom",
|
|
"left",
|
|
"z-index",
|
|
"display",
|
|
"float",
|
|
"width",
|
|
"height",
|
|
"max-width",
|
|
"max-height",
|
|
"min-width",
|
|
"min-height",
|
|
"padding",
|
|
"padding-top",
|
|
"padding-right",
|
|
"padding-bottom",
|
|
"padding-left",
|
|
"margin",
|
|
"margin-top",
|
|
"margin-right",
|
|
"margin-bottom",
|
|
"margin-left",
|
|
"margin-collapse",
|
|
"margin-top-collapse",
|
|
"margin-right-collapse",
|
|
"margin-bottom-collapse",
|
|
"margin-left-collapse",
|
|
"overflow",
|
|
"overflow-x",
|
|
"overflow-y",
|
|
"clip",
|
|
"clear",
|
|
"font",
|
|
"font-family",
|
|
"font-size",
|
|
"font-smoothing",
|
|
"font-style",
|
|
"font-weight",
|
|
"hyphens",
|
|
"src",
|
|
"line-height",
|
|
"letter-spacing",
|
|
"word-spacing",
|
|
"color",
|
|
"text-align",
|
|
"text-decoration",
|
|
"text-indent",
|
|
"text-overflow",
|
|
"text-rendering",
|
|
"text-size-adjust",
|
|
"text-shadow",
|
|
"text-transform",
|
|
"word-break",
|
|
"word-wrap",
|
|
"white-space",
|
|
"vertical-align",
|
|
"list-style",
|
|
"list-style-position",
|
|
"list-style-type",
|
|
"list-style-image",
|
|
"pointer-events",
|
|
"cursor",
|
|
"background",
|
|
"background-attachment",
|
|
"background-color",
|
|
"background-image",
|
|
"background-position",
|
|
"background-repeat",
|
|
"background-size",
|
|
"border",
|
|
"border-collapse",
|
|
"border-top",
|
|
"border-right",
|
|
"border-bottom",
|
|
"border-left",
|
|
"border-color",
|
|
"border-image",
|
|
"border-top-color",
|
|
"border-right-color",
|
|
"border-bottom-color",
|
|
"border-left-color",
|
|
"border-spacing",
|
|
"border-style",
|
|
"border-width",
|
|
"border-top-width",
|
|
"border-right-width",
|
|
"border-bottom-width",
|
|
"border-left-width",
|
|
"border-radius",
|
|
"border-top-right-radius",
|
|
"border-bottom-right-radius",
|
|
"border-bottom-left-radius",
|
|
"border-top-left-radius",
|
|
"border-radius-topright",
|
|
"border-radius-bottomright",
|
|
"border-radius-bottomleft",
|
|
"border-radius-topleft",
|
|
"box-shadow",
|
|
"transform",
|
|
"transform-origin",
|
|
"backface-visibility",
|
|
"backface-visibility",
|
|
"perspective",
|
|
"perspective-origin",
|
|
"visibility",
|
|
"opacity",
|
|
"filter",
|
|
"isolation",
|
|
"object-fit",
|
|
"object-position",
|
|
"mask",
|
|
"mask-image",
|
|
"mask-mode",
|
|
"mask-position",
|
|
"mask-repeat",
|
|
"mask-size",
|
|
"mask-clip",
|
|
"mask-origin",
|
|
"mask-composite",
|
|
"mask-type",
|
|
"mask-border",
|
|
"mask-border-source",
|
|
"mask-border-slice",
|
|
"mask-border-width",
|
|
"mask-border-outset",
|
|
"mask-border-repeat",
|
|
"mask-border-mode",
|
|
"mask-box-image",
|
|
"mask-box-image-source",
|
|
"mask-box-image-slice",
|
|
"mask-box-image-width",
|
|
"mask-box-image-outset",
|
|
"mask-box-image-repeat",
|
|
"mask-box-image-mode",
|
|
"box-decoration-break",
|
|
"background-clip",
|
|
"background-origin",
|
|
"background-size",
|
|
"background-position",
|
|
"background-attachment",
|
|
"background-repeat",
|
|
"background-image",
|
|
"box-sizing",
|
|
"content",
|
|
"quotes",
|
|
"counter-reset",
|
|
"counter-increment",
|
|
"resize",
|
|
"user-select",
|
|
"nav-index",
|
|
"nav-up",
|
|
"nav-right",
|
|
"nav-down",
|
|
"nav-left",
|
|
"tab-size",
|
|
"outline",
|
|
"outline-width",
|
|
"outline-style",
|
|
"outline-color",
|
|
"outline-offset",
|
|
"table-layout",
|
|
"empty-cells",
|
|
"caption-side",
|
|
"background-color",
|
|
"border-spacing",
|
|
"border-collapse",
|
|
"speak",
|
|
"volume",
|
|
"pause",
|
|
"pause-before",
|
|
"pause-after",
|
|
"page-break-before",
|
|
"page-break-after",
|
|
"page-break-inside",
|
|
"orphans",
|
|
"widows",
|
|
"display",
|
|
"flex-direction",
|
|
"flex-order",
|
|
"flex-grow",
|
|
"flex-shrink",
|
|
"flex-basis",
|
|
"flex-flow",
|
|
"flex-wrap",
|
|
"flex",
|
|
"justify-content",
|
|
"align-self",
|
|
"align-items",
|
|
"align-content"
|
|
]
|
|
}
|
|
],
|
|
"declaration-property-value-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreProperties": [
|
|
"font-size",
|
|
"width",
|
|
"height",
|
|
"margin",
|
|
"padding",
|
|
"border-radius",
|
|
"line-height",
|
|
"box-shadow"
|
|
]
|
|
}
|
|
],
|
|
"shorthand-property-no-redundant-values": null,
|
|
"alpha-value-notation": null,
|
|
"color-function-notation": null,
|
|
"declaration-property-value-allowed-list": {
|
|
"font-size": ["/rpx$/"],
|
|
"width": ["/rpx$/"],
|
|
"height": ["/rpx$/"],
|
|
"margin": ["/rpx$/"],
|
|
"padding": ["/rpx$/"],
|
|
"border-radius": ["/rpx$/"],
|
|
"line-height": ["/rpx$/"]
|
|
}
|
|
}
|
|
}
|