2017-01-01 17:59:44 +03:00
|
|
|
{
|
2020-03-06 17:21:15 +03:00
|
|
|
"extends": [
|
2023-03-01 09:13:50 +03:00
|
|
|
"stylelint-config-recess-order",
|
2020-03-06 17:21:15 +03:00
|
|
|
"stylelint-config-recommended",
|
2023-09-25 18:36:36 +03:00
|
|
|
"stylelint-config-standard-scss",
|
|
|
|
"stylelint-stylistic/config"
|
2020-03-06 17:21:15 +03:00
|
|
|
],
|
2017-01-01 17:59:44 +03:00
|
|
|
"plugins": [
|
|
|
|
"stylelint-scss"
|
|
|
|
],
|
|
|
|
"rules": {
|
2021-10-22 23:13:24 +03:00
|
|
|
"alpha-value-notation": "number",
|
2022-08-13 09:34:25 +03:00
|
|
|
"annotation-no-unknown": null,
|
2021-02-07 19:43:13 +03:00
|
|
|
"at-rule-empty-line-before": [
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"except": [
|
|
|
|
"blockless-after-same-name-blockless",
|
|
|
|
"first-nested"
|
|
|
|
],
|
|
|
|
"ignore": [
|
|
|
|
"after-comment"
|
|
|
|
],
|
|
|
|
"ignoreAtRules": [
|
|
|
|
"if",
|
2021-02-07 20:08:21 +03:00
|
|
|
"each",
|
2021-02-07 19:43:13 +03:00
|
|
|
"else",
|
2021-02-07 20:08:21 +03:00
|
|
|
"elseif",
|
|
|
|
"for",
|
|
|
|
"import",
|
|
|
|
"return"
|
2021-02-07 19:43:13 +03:00
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2017-07-25 18:30:47 +03:00
|
|
|
"at-rule-no-unknown": null,
|
2021-10-22 23:13:24 +03:00
|
|
|
"color-function-notation": null,
|
2017-01-01 17:59:44 +03:00
|
|
|
"color-hex-length": "long",
|
|
|
|
"color-named": "never",
|
2021-02-07 19:43:13 +03:00
|
|
|
"comment-empty-line-before": [
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"ignore": [
|
|
|
|
"stylelint-commands"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"custom-property-empty-line-before": null,
|
2021-10-22 23:13:24 +03:00
|
|
|
"custom-property-pattern": null,
|
2021-02-07 20:08:21 +03:00
|
|
|
"declaration-colon-space-after": null,
|
2021-02-07 19:43:13 +03:00
|
|
|
"declaration-no-important": true,
|
|
|
|
"declaration-block-single-line-max-declarations": 0,
|
2023-09-25 18:36:36 +03:00
|
|
|
"font-family-name-quotes": "always-where-recommended",
|
|
|
|
"font-weight-notation": "numeric",
|
2021-12-04 13:33:21 +03:00
|
|
|
"function-calc-no-unspaced-operator": null,
|
2022-02-09 13:58:20 +03:00
|
|
|
"function-no-unknown": null,
|
2021-02-07 19:43:13 +03:00
|
|
|
"function-url-no-scheme-relative": true,
|
|
|
|
"function-url-quotes": "always",
|
2021-10-22 23:13:24 +03:00
|
|
|
"hue-degree-notation": "number",
|
2021-11-28 12:21:48 +03:00
|
|
|
"length-zero-no-unit": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"ignore": ["custom-properties"]
|
|
|
|
}
|
|
|
|
],
|
2021-02-07 19:43:13 +03:00
|
|
|
"media-feature-name-no-unknown": null,
|
2023-04-19 20:05:55 +03:00
|
|
|
"media-feature-range-notation": null,
|
2023-07-08 10:54:20 +03:00
|
|
|
"media-query-no-invalid": null,
|
2021-02-07 20:08:21 +03:00
|
|
|
"no-descending-specificity": null,
|
2017-01-01 17:59:44 +03:00
|
|
|
"no-unknown-animations": true,
|
2021-02-07 19:43:13 +03:00
|
|
|
"property-no-unknown": null,
|
|
|
|
"property-no-vendor-prefix": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"ignoreProperties": [
|
|
|
|
"line-clamp",
|
|
|
|
"box-orient"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2021-10-22 23:13:24 +03:00
|
|
|
"selector-class-pattern": null,
|
2021-02-07 20:08:21 +03:00
|
|
|
"selector-combinator-space-before": null,
|
|
|
|
"selector-descendant-combinator-no-non-space": null,
|
2021-11-13 13:39:10 +03:00
|
|
|
"selector-id-pattern": null,
|
2021-02-07 19:43:13 +03:00
|
|
|
"selector-max-id": 0,
|
2021-02-07 20:08:21 +03:00
|
|
|
"selector-no-qualifying-type": null,
|
2021-02-07 19:43:13 +03:00
|
|
|
"selector-pseudo-class-no-unknown": null,
|
|
|
|
"selector-pseudo-element-no-unknown": null,
|
|
|
|
"unit-allowed-list": [
|
|
|
|
"%",
|
2021-11-21 19:45:49 +03:00
|
|
|
"ch",
|
2021-02-07 19:43:13 +03:00
|
|
|
"dppx",
|
|
|
|
"deg",
|
|
|
|
"em",
|
2022-12-07 13:11:02 +03:00
|
|
|
"fr",
|
2021-02-07 19:43:13 +03:00
|
|
|
"mm",
|
|
|
|
"ms",
|
|
|
|
"px",
|
|
|
|
"vh",
|
|
|
|
"vw"
|
|
|
|
],
|
2021-10-30 14:16:05 +03:00
|
|
|
"value-keyword-case": [
|
|
|
|
"lower",
|
|
|
|
{
|
|
|
|
"ignoreProperties": [
|
|
|
|
"/^--/"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2021-02-12 15:04:08 +03:00
|
|
|
"value-list-comma-newline-after": null,
|
2021-10-22 23:13:24 +03:00
|
|
|
"value-no-vendor-prefix": [
|
|
|
|
true,
|
|
|
|
{
|
|
|
|
"ignoreValues": [
|
|
|
|
"box"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
2021-02-07 19:43:13 +03:00
|
|
|
"scss/at-each-key-value-single-line": true,
|
|
|
|
"scss/at-else-closing-brace-newline-after": "always-last-in-chain",
|
|
|
|
"scss/at-function-parentheses-space-before": "never",
|
|
|
|
"scss/at-function-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
|
|
|
|
"scss/at-if-closing-brace-newline-after": "always-last-in-chain",
|
|
|
|
"scss/at-if-no-null": true,
|
|
|
|
"scss/at-import-no-partial-leading-underscore": true,
|
|
|
|
"scss/at-import-partial-extension": "never",
|
|
|
|
"scss/at-mixin-argumentless-call-parentheses": "always",
|
|
|
|
"scss/at-mixin-parentheses-space-before": "never",
|
|
|
|
"scss/at-mixin-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
|
|
|
|
"scss/at-rule-conditional-no-parentheses": true,
|
2021-10-22 23:13:24 +03:00
|
|
|
"scss/comment-no-empty": null,
|
2021-02-07 19:43:13 +03:00
|
|
|
"scss/comment-no-loud": true,
|
|
|
|
"scss/declaration-nested-properties": "never",
|
|
|
|
"scss/dimension-no-non-numeric-values": true,
|
|
|
|
"scss/dollar-variable-colon-newline-after": "always-multi-line",
|
|
|
|
"scss/dollar-variable-colon-space-after": "always-single-line",
|
|
|
|
"scss/dollar-variable-colon-space-before": "never",
|
2021-10-22 23:13:24 +03:00
|
|
|
"scss/dollar-variable-first-in-block": null,
|
2021-02-07 19:43:13 +03:00
|
|
|
"scss/dollar-variable-no-missing-interpolation": true,
|
|
|
|
"scss/dollar-variable-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
|
2021-10-22 23:13:24 +03:00
|
|
|
"scss/double-slash-comment-empty-line-before": null,
|
2021-02-07 19:43:13 +03:00
|
|
|
"scss/double-slash-comment-whitespace-inside": "always",
|
2021-10-22 23:13:24 +03:00
|
|
|
"scss/at-extend-no-missing-placeholder": null,
|
2021-02-07 19:43:13 +03:00
|
|
|
"scss/no-duplicate-mixins": true,
|
2021-11-21 19:45:49 +03:00
|
|
|
"scss/no-global-function-names": null,
|
2021-11-28 12:21:48 +03:00
|
|
|
"scss/operator-no-newline-after": null,
|
2021-02-07 19:43:13 +03:00
|
|
|
"scss/operator-no-unspaced": true,
|
|
|
|
"scss/partial-no-import": true,
|
|
|
|
"scss/percent-placeholder-pattern": "^[a-z][a-z0-9]*(-[a-z0-9]+)*$",
|
2023-09-25 18:36:36 +03:00
|
|
|
"scss/selector-no-redundant-nesting-selector": true,
|
|
|
|
"stylistic/block-closing-brace-newline-after": [
|
|
|
|
"always",
|
|
|
|
{
|
|
|
|
"ignoreAtRules": [
|
|
|
|
"if",
|
|
|
|
"else",
|
|
|
|
"elseif"
|
|
|
|
]
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"stylistic/declaration-colon-space-after": null,
|
|
|
|
"stylistic/no-empty-first-line": true,
|
|
|
|
"stylistic/linebreaks": "unix",
|
|
|
|
"stylistic/selector-max-empty-lines": 0,
|
|
|
|
"stylistic/string-quotes": "double",
|
|
|
|
"stylistic/unicode-bom": "never",
|
|
|
|
"stylistic/value-list-comma-newline-after": null
|
2017-01-01 17:59:44 +03:00
|
|
|
}
|
|
|
|
}
|