From b2ae6a6a94a70a027469fa64723e8268ca66254b Mon Sep 17 00:00:00 2001 From: Martijn Cuppens Date: Wed, 24 Jul 2019 08:41:18 +0200 Subject: [PATCH] Apply `at-mixin-argumentless-call-parentheses: always` stylelint rule --- scss/_dropdown.scss | 2 +- scss/_images.scss | 4 ++-- scss/_type.scss | 4 ++-- scss/helpers/_text.scss | 2 +- scss/mixins/_caret.scss | 8 ++++---- site/static/docs/4.3/assets/scss/_brand.scss | 4 ++-- site/static/docs/4.3/assets/scss/_callouts.scss | 4 ++-- site/static/docs/4.3/assets/scss/_clipboard-js.scss | 2 +- 8 files changed, 15 insertions(+), 15 deletions(-) diff --git a/scss/_dropdown.scss b/scss/_dropdown.scss index 3f46641541..70c07ab4bd 100644 --- a/scss/_dropdown.scss +++ b/scss/_dropdown.scss @@ -10,7 +10,7 @@ white-space: nowrap; // Generate the caret automatically - @include caret; + @include caret(); } // The dropdown menu diff --git a/scss/_images.scss b/scss/_images.scss index cb9795e272..b11b45a37b 100644 --- a/scss/_images.scss +++ b/scss/_images.scss @@ -6,7 +6,7 @@ // which weren't expecting the images within themselves to be involuntarily resized. // See also https://github.com/twbs/bootstrap/issues/18178 .img-fluid { - @include img-fluid; + @include img-fluid(); } @@ -19,7 +19,7 @@ @include box-shadow($thumbnail-box-shadow); // Keep them at most 100% wide - @include img-fluid; + @include img-fluid(); } // diff --git a/scss/_type.scss b/scss/_type.scss index bc8249f438..a7dbb1e738 100644 --- a/scss/_type.scss +++ b/scss/_type.scss @@ -71,12 +71,12 @@ // .list-unstyled { - @include list-unstyled; + @include list-unstyled(); } // Inline turns list items into inline-block .list-inline { - @include list-unstyled; + @include list-unstyled(); } .list-inline-item { display: inline-block; diff --git a/scss/helpers/_text.scss b/scss/helpers/_text.scss index 419703f1ce..3c2dbbd1d0 100644 --- a/scss/helpers/_text.scss +++ b/scss/helpers/_text.scss @@ -3,5 +3,5 @@ // .text-truncate { - @include text-truncate; + @include text-truncate(); } diff --git a/scss/mixins/_caret.scss b/scss/mixins/_caret.scss index 8ecef65b47..07d72280ce 100644 --- a/scss/mixins/_caret.scss +++ b/scss/mixins/_caret.scss @@ -33,11 +33,11 @@ vertical-align: $caret-vertical-align; content: ""; @if $direction == down { - @include caret-down; + @include caret-down(); } @else if $direction == up { - @include caret-up; + @include caret-up(); } @else if $direction == right { - @include caret-right; + @include caret-right(); } } @@ -51,7 +51,7 @@ margin-right: $caret-spacing; vertical-align: $caret-vertical-align; content: ""; - @include caret-left; + @include caret-left(); } } diff --git a/site/static/docs/4.3/assets/scss/_brand.scss b/site/static/docs/4.3/assets/scss/_brand.scss index 226d7db174..c3ba73c3e3 100644 --- a/site/static/docs/4.3/assets/scss/_brand.scss +++ b/site/static/docs/4.3/assets/scss/_brand.scss @@ -10,7 +10,7 @@ overflow: hidden; color: $bd-purple; background-color: #f9f9f9; - @include border-radius; + @include border-radius(); .inverse { color: $white; @@ -79,7 +79,7 @@ height: 4rem; margin-right: .25rem; margin-left: .25rem; - @include border-radius; + @include border-radius(); @include media-breakpoint-up(md) { width: 6rem; diff --git a/site/static/docs/4.3/assets/scss/_callouts.scss b/site/static/docs/4.3/assets/scss/_callouts.scss index a10fc05b8d..6b97359497 100644 --- a/site/static/docs/4.3/assets/scss/_callouts.scss +++ b/site/static/docs/4.3/assets/scss/_callouts.scss @@ -8,7 +8,7 @@ margin-bottom: 1.25rem; border: 1px solid #eee; border-left-width: .25rem; - @include border-radius; + @include border-radius(); h4 { margin-top: 0; @@ -20,7 +20,7 @@ } code { - @include border-radius; + @include border-radius(); } + .bd-callout { diff --git a/site/static/docs/4.3/assets/scss/_clipboard-js.scss b/site/static/docs/4.3/assets/scss/_clipboard-js.scss index 6d4bfeea48..760a806bb2 100644 --- a/site/static/docs/4.3/assets/scss/_clipboard-js.scss +++ b/site/static/docs/4.3/assets/scss/_clipboard-js.scss @@ -27,7 +27,7 @@ color: #818a91; background-color: transparent; border: 0; - @include border-radius; + @include border-radius(); &:hover { color: $white;