74 lines
2.0 KiB
JSON
74 lines
2.0 KiB
JSON
{
|
|
"defaultSeverity": "warning",
|
|
"extends": ["stylelint-config-standard-scss", "stylelint-config-recommended"],
|
|
"plugins": ["stylelint-order", "stylelint-scss"],
|
|
"rules": {
|
|
"annotation-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreAnnotations": ["default"]
|
|
}
|
|
],
|
|
"at-rule-no-unknown": null,
|
|
"declaration-block-no-redundant-longhand-properties": null,
|
|
"font-family-no-missing-generic-family-keyword": null,
|
|
"function-no-unknown": [
|
|
true,
|
|
{
|
|
"ignoreFunctions": ["divide", "transparentize"]
|
|
}
|
|
],
|
|
"function-url-quotes": null,
|
|
"keyframes-name-pattern": null,
|
|
"no-descending-specificity": null,
|
|
"order/order": [
|
|
{
|
|
"type": "at-rule",
|
|
"name": "include"
|
|
},
|
|
"custom-properties",
|
|
"declarations",
|
|
"rules"
|
|
],
|
|
"property-no-vendor-prefix": [
|
|
true,
|
|
{
|
|
"ignoreProperties": ["box-decoration-break"]
|
|
}
|
|
],
|
|
"scss/at-function-pattern": null,
|
|
"scss/at-mixin-pattern": null,
|
|
"scss/dollar-variable-colon-space-after": "always-single-line",
|
|
"scss/dollar-variable-colon-space-before": "never",
|
|
"scss/dollar-variable-pattern": [
|
|
"^[a-z][a-zA-Z]+$",
|
|
{
|
|
"ignore": "global"
|
|
}
|
|
],
|
|
"scss/double-slash-comment-empty-line-before": [
|
|
"always",
|
|
{
|
|
"except": ["first-nested"],
|
|
"ignore": ["between-comments", "stylelint-commands"]
|
|
}
|
|
],
|
|
"scss/double-slash-comment-whitespace-inside": "always",
|
|
"scss/function-no-unknown": null,
|
|
"scss/no-duplicate-dollar-variables": null,
|
|
"scss/no-duplicate-mixins": null,
|
|
"scss/no-global-function-names": null,
|
|
"scss/operator-no-newline-after": null,
|
|
"scss/operator-no-newline-before": null,
|
|
"scss/operator-no-unspaced": null,
|
|
"scss/percent-placeholder-pattern": null,
|
|
"selector-class-pattern": null,
|
|
"selector-pseudo-class-no-unknown": [
|
|
true,
|
|
{
|
|
"ignorePseudoClasses": ["global", "export"]
|
|
}
|
|
]
|
|
}
|
|
}
|