105 lines
2.0 KiB
JSON
Executable File
105 lines
2.0 KiB
JSON
Executable File
{
|
|
"plugins": [
|
|
"stylelint-order",
|
|
"stylelint-scss"
|
|
],
|
|
"extends": [
|
|
"stylelint-config-standard",
|
|
"stylelint-config-standard-scss"
|
|
],
|
|
"rules": {
|
|
"alpha-value-notation": "number",
|
|
"at-rule-empty-line-before": [
|
|
"always",
|
|
{
|
|
"except": [
|
|
"after-same-name",
|
|
"inside-block"
|
|
]
|
|
}
|
|
],
|
|
"at-rule-no-vendor-prefix": true,
|
|
"color-hex-length": "short",
|
|
"declaration-property-value-no-unknown": null,
|
|
"declaration-block-no-redundant-longhand-properties": [
|
|
true,
|
|
{
|
|
"ignoreShorthands": [
|
|
"inset"
|
|
]
|
|
}
|
|
],
|
|
"font-family-name-quotes": "always-unless-keyword",
|
|
"no-descending-specificity": null,
|
|
"rule-empty-line-before": [
|
|
"always",
|
|
{
|
|
"except": [
|
|
"after-rule",
|
|
"after-single-line-comment",
|
|
"inside-block",
|
|
"first-nested"
|
|
]
|
|
}
|
|
],
|
|
"scss/at-extend-no-missing-placeholder": null,
|
|
"scss/dollar-variable-pattern": null,
|
|
"scss/selector-no-redundant-nesting-selector": true,
|
|
"selector-class-pattern": null,
|
|
"selector-no-vendor-prefix": [
|
|
true,
|
|
{
|
|
"ignoreSelectors": [
|
|
"::-webkit-input-placeholder"
|
|
]
|
|
}
|
|
],
|
|
"unit-allowed-list": [
|
|
"em",
|
|
"rem",
|
|
"deg",
|
|
"fr",
|
|
"%",
|
|
"s",
|
|
"px",
|
|
"vw",
|
|
"vh",
|
|
"vm",
|
|
"vmax",
|
|
"vmin"
|
|
],
|
|
"order/properties-order": [
|
|
{
|
|
"properties": [
|
|
"position",
|
|
"top",
|
|
"right",
|
|
"bottom",
|
|
"left",
|
|
"z-index"
|
|
]
|
|
},
|
|
{
|
|
"properties": [
|
|
"width",
|
|
"height",
|
|
"margin",
|
|
"padding"
|
|
]
|
|
},
|
|
{
|
|
"properties": [
|
|
"background",
|
|
"border",
|
|
"border-radius"
|
|
]
|
|
},
|
|
{
|
|
"properties": [
|
|
"opacity"
|
|
]
|
|
}
|
|
]
|
|
}
|
|
}
|