mirror of
https://github.com/twbs/bootstrap.git
synced 2025-02-26 23:54:23 +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,
|
"property-no-vendor-prefix": true,
|
||||||
"rule-empty-line-before": null,
|
"rule-empty-line-before": null,
|
||||||
|
"scss/dollar-variable-default": [true, { "ignore": "local" }],
|
||||||
"selector-attribute-quotes": "always",
|
"selector-attribute-quotes": "always",
|
||||||
"selector-list-comma-newline-after": "always",
|
"selector-list-comma-newline-after": "always",
|
||||||
"selector-list-comma-newline-before": "never-multi-line",
|
"selector-list-comma-newline-before": "never-multi-line",
|
||||||
|
@ -3,6 +3,7 @@
|
|||||||
// Common values
|
// Common values
|
||||||
|
|
||||||
// Sass list not in variables since it's not intended for customization.
|
// 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;
|
$positions: static, relative, absolute, fixed, sticky;
|
||||||
|
|
||||||
@each $position in $positions {
|
@each $position in $positions {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user