diff options
| author | XhmikosR <[email protected]> | 2020-06-23 13:07:58 +0300 |
|---|---|---|
| committer | XhmikosR <[email protected]> | 2020-09-15 11:57:36 +0300 |
| commit | 4d6dd313792f9dcb0c61c5722555ff59d5fff288 (patch) | |
| tree | 863fe6f1ccf390b7eecd6ccc459d135b1737ad4e | |
| parent | 400b8a6754023365c9fe4816cd7026bf556af7b2 (diff) | |
| download | bootstrap-4d6dd313792f9dcb0c61c5722555ff59d5fff288.tar.xz bootstrap-4d6dd313792f9dcb0c61c5722555ff59d5fff288.zip | |
Update Stylelint rules
Enable `scss/selector-no-union-class-name`
| -rw-r--r-- | .stylelintrc | 7 | ||||
| -rw-r--r-- | scss/_navbar.scss | 1 |
2 files changed, 6 insertions, 2 deletions
diff --git a/.stylelintrc b/.stylelintrc index 669e28a42..64e0184fd 100644 --- a/.stylelintrc +++ b/.stylelintrc @@ -3,6 +3,9 @@ "stylelint-config-twbs-bootstrap/scss" ], "rules": { + "function-blacklist": [ + "calc" + ], "property-blacklist": [ "border-radius", "border-top-left-radius", @@ -11,12 +14,12 @@ "border-bottom-left-radius", "transition" ], - "function-blacklist": ["calc"], "scss/dollar-variable-default": [ true, { "ignore": "local" } - ] + ], + "scss/selector-no-union-class-name": true } } diff --git a/scss/_navbar.scss b/scss/_navbar.scss index 01d827ff7..607c3170c 100644 --- a/scss/_navbar.scss +++ b/scss/_navbar.scss @@ -155,6 +155,7 @@ $next: breakpoint-next($breakpoint, $grid-breakpoints); $infix: breakpoint-infix($next, $grid-breakpoints); + // stylelint-disable-next-line scss/selector-no-union-class-name &#{$infix} { @include media-breakpoint-up($next) { flex-wrap: nowrap; |
