]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Enable `scss/dollar-variable-default` rule (#25542)
authorfreezy <freezy-sk@users.noreply.github.com>
Wed, 7 Feb 2018 13:28:35 +0000 (14:28 +0100)
committerXhmikosR <xhmikosr@gmail.com>
Wed, 7 Feb 2018 13:28:35 +0000 (15:28 +0200)
This checks if all variables are `!default`.

.stylelintrc
scss/utilities/_position.scss

index 4a47533189e512b2d3d18b50b23187e5d9ed50fb..e53251258f4c71a592ee9bf4679fc123a410fc96 100644 (file)
     ],
     "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",
index ef962eddbd471fdd6ffafd62bcc78df62ca26c99..9ecdeeb9be1242dd6a1fb6212b3f30ac3b161a88 100644 (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 {