templates/webpunk-templates/.stylelintrc.json
2025-06-15 00:02:46 +03:00

65 lines
1.7 KiB
JSON

{
"extends": ["stylelint-config-standard-scss", "./.stylelint-order.json"],
"plugins": ["stylelint-prettier", "stylelint-order"],
"overrides": [
{
"files": ["**/*.scss"],
"customSyntax": "postcss-scss"
}
],
"rules": {
"at-rule-empty-line-before": [
"always",
{
"except": ["blockless-after-blockless", "inside-block"],
"ignore": ["after-comment"],
"ignoreAtRules": ["else"]
}
],
"at-rule-no-unknown": [
true,
{
"ignoreAtRules": [
"mixin",
"define-mixin",
"include",
"content",
"rules",
"extend",
"use",
"if",
"for"
]
}
],
"block-no-empty": true,
"color-hex-length": "long",
"declaration-no-important": true,
"declaration-empty-line-before": "never",
"declaration-block-no-redundant-longhand-properties": [
true,
{
"ignoreShorthands": ["columns", "grid-template", "flex-flow"]
}
],
"font-family-name-quotes": "always-unless-keyword",
"no-irregular-whitespace": null,
"no-descending-specificity": null,
"rule-empty-line-before": "never",
"selector-class-pattern": "",
"shorthand-property-no-redundant-values": null,
"scss/dollar-variable-colon-space-after": "at-least-one-space",
"scss/dollar-variable-empty-line-before": null,
"scss/double-slash-comment-empty-line-before": [
"always",
{
"except": ["inside-block"],
"ignore": ["between-comments"]
}
],
"scss/no-global-function-names": null,
"scss/comment-no-empty": null,
"scss/at-import-partial-extension": null
}
}