0
0
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:
freezy 2018-02-07 14:28:35 +01:00 committed by XhmikosR
parent 9057d8da16
commit 2dc9c76d75
2 changed files with 2 additions and 0 deletions

View File

@ -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",

View File

@ -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 {