2025-04-09
.stylelintrc.json
{
"customSyntax": "postcss-scss",
"plugins": [
"stylelint-order"
],
"extends": [
"stylelint-config-standard-scss",
"stylelint-config-property-sort-order-smacss"
],
"rules": {
"no-descending-specificity": null,
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"include",
"extend",
"extends",
"ignores",
"function",
"return",
"mixin",
"if",
"else",
"for",
"content",
"use"
]
}
],
"at-rule-empty-line-before": [
"always",
{
"ignore": [
"after-comment",
"blockless-after-same-name-blockless",
"first-nested"
],
"ignoreAtRules": [
"supports",
"if",
"else"
]
}
],
"block-closing-brace-newline-after": [
"always",
{
"ignoreAtRules": [
"if",
"else"
]
}
],
"indentation": [
4,
{
"except": [
"value"
],
"message": "Please use 4 spaces for indentation."
}
],
"max-empty-lines": 2,
"max-line-length": 300,
"unit-allowed-list": [
"deg",
"vh",
"vw",
"fr",
"px",
"em",
"rem",
"%",
"s",
"cm",
"pt",
"ch"
],
"declaration-block-single-line-max-declarations": 2,
"comment-no-empty": null,
"scss/comment-no-empty": null,
"selector-class-pattern": "[a-zA-Z0-9]+"
}
}