mirror of
https://github.com/Hopiu/bootstrap.git
synced 2026-03-21 23:10:23 +00:00
Enable scss/dollar-variable-default rule (#25542)
This checks if all variables are `!default`.
This commit is contained in:
parent
9057d8da16
commit
2dc9c76d75
2 changed files with 2 additions and 0 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Reference in a new issue