Skip to content
GitLab
Explore
Projects
Groups
Snippets
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Bootstrap
bootstrap
Commits
2dc9c76d
Commit
2dc9c76d
authored
7 years ago
by
freezy
Committed by
XhmikosR
7 years ago
Browse files
Options
Download
Email Patches
Plain Diff
Enable `scss/dollar-variable-default` rule (#25542)
This checks if all variables are `!default`.
parent
9057d8da
4 merge requests
!28721
Hot test
,
!27561
Adds font-weight-medium to font weight classes
,
!23207
#22402 : modal: new autofocus & keyboardBtnNav options
,
!17021
v4
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
.stylelintrc
+1
-0
.stylelintrc
scss/utilities/_position.scss
+1
-0
scss/utilities/_position.scss
with
2 additions
and
0 deletions
+2
-0
.stylelintrc
+
1
-
0
View file @
2dc9c76d
...
...
@@ -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",
...
...
This diff is collapsed.
Click to expand it.
scss/utilities/_position.scss
+
1
-
0
View file @
2dc9c76d
...
...
@@ -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
{
...
...
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Explore
Projects
Groups
Snippets