mirror of
https://github.com/twbs/bootstrap.git
synced 2024-11-28 10:24:19 +01:00
Enable scss/dollar-variable-default
rule (#25542)
This checks if all variables are `!default`.
This commit is contained in:
parent
9057d8da16
commit
2dc9c76d75
@ -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 New Issue
Block a user