Commit 2dc9c76d authored by freezy's avatar freezy Committed by XhmikosR
Browse files

Enable `scss/dollar-variable-default` rule (#25542)

This checks if all variables are `!default`.
parent 9057d8da
4 merge requests!28721Hot test,!27561Adds font-weight-medium to font weight classes,!23207#22402 : modal: new autofocus & keyboardBtnNav options,!17021v4
Showing with 2 additions and 0 deletions
+2 -0
......@@ -221,6 +221,7 @@
],
"property-no-vendor-prefix": true,
"rule-empty-line-before": null,
"scss/dollar-variable-default": [true, { "ignore": "local" }],
"selector-attribute-quotes": "always",
"selector-list-comma-newline-after": "always",
"selector-list-comma-newline-before": "never-multi-line",
......
......@@ -3,6 +3,7 @@
// Common values
// Sass list not in variables since it's not intended for customization.
// stylelint-disable-next-line scss/dollar-variable-default
$positions: static, relative, absolute, fixed, sticky;
@each $position in $positions {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment