Skip to content

Commit

Permalink
Enable scss/dollar-variable-default rule (#25542)
Browse files Browse the repository at this point in the history
This checks if all variables are `!default`.
  • Loading branch information
freezy-sk authored and XhmikosR committed Feb 7, 2018
1 parent 9057d8d commit 2dc9c76
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions .stylelintrc
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
1 change: 1 addition & 0 deletions scss/utilities/_position.scss
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit 2dc9c76

Please sign in to comment.