Skip to content

Commit

Permalink
Stylelint: Disable custom-property-empty-line-before
Browse files Browse the repository at this point in the history
  • Loading branch information
mdo committed May 23, 2022
1 parent d17fe26 commit 427c089
Show file tree
Hide file tree
Showing 14 changed files with 6 additions and 21 deletions.
1 change: 1 addition & 0 deletions .stylelintrc
Expand Up @@ -3,6 +3,7 @@
"stylelint-config-twbs-bootstrap"
],
"rules": {
"custom-property-empty-line-before": null,
"declaration-property-value-disallowed-list": {
"border": "none",
"outline": "none"
Expand Down
2 changes: 0 additions & 2 deletions scss/_badge.scss
@@ -1,5 +1,3 @@
// stylelint-disable custom-property-empty-line-before

// Base class
//
// Requires one of the contextual, color modifier classes for `color` and
Expand Down
2 changes: 0 additions & 2 deletions scss/_breadcrumb.scss
@@ -1,5 +1,3 @@
// stylelint-disable custom-property-empty-line-before

.breadcrumb {
// scss-docs-start breadcrumb-css-vars
--#{$prefix}breadcrumb-padding-x: #{$breadcrumb-padding-x};
Expand Down
2 changes: 0 additions & 2 deletions scss/_buttons.scss
@@ -1,5 +1,3 @@
// stylelint-disable custom-property-empty-line-before

//
// Base styles
//
Expand Down
2 changes: 1 addition & 1 deletion scss/_dropdown.scss
Expand Up @@ -23,7 +23,7 @@
--#{$prefix}dropdown-padding-y: #{$dropdown-padding-y};
--#{$prefix}dropdown-spacer: #{$dropdown-spacer};
@include rfs($dropdown-font-size, --#{$prefix}dropdown-font-size);
--#{$prefix}dropdown-color: #{$dropdown-color}; // stylelint-disable-line custom-property-empty-line-before
--#{$prefix}dropdown-color: #{$dropdown-color};
--#{$prefix}dropdown-bg: #{$dropdown-bg};
--#{$prefix}dropdown-border-color: #{$dropdown-border-color};
--#{$prefix}dropdown-border-radius: #{$dropdown-border-radius};
Expand Down
2 changes: 1 addition & 1 deletion scss/_nav.scss
Expand Up @@ -8,7 +8,7 @@
--#{$prefix}nav-link-padding-x: #{$nav-link-padding-x};
--#{$prefix}nav-link-padding-y: #{$nav-link-padding-y};
@include rfs($nav-link-font-size, --#{$prefix}nav-link-font-size);
--#{$prefix}nav-link-font-weight: #{$nav-link-font-weight}; // stylelint-disable-line custom-property-empty-line-before
--#{$prefix}nav-link-font-weight: #{$nav-link-font-weight};
--#{$prefix}nav-link-color: #{$nav-link-color};
--#{$prefix}nav-link-hover-color: #{$nav-link-hover-color};
--#{$prefix}nav-link-disabled-color: #{$nav-link-disabled-color};
Expand Down
2 changes: 0 additions & 2 deletions scss/_pagination.scss
@@ -1,5 +1,3 @@
// stylelint-disable custom-property-empty-line-before

.pagination {
// scss-docs-start pagination-css-vars
--#{$prefix}pagination-padding-x: #{$pagination-padding-x};
Expand Down
2 changes: 0 additions & 2 deletions scss/_popover.scss
@@ -1,5 +1,3 @@
// stylelint-disable custom-property-empty-line-before

.popover {
// scss-docs-start popover-css-vars
--#{$prefix}popover-zindex: #{$zindex-popover};
Expand Down
2 changes: 1 addition & 1 deletion scss/_progress.scss
Expand Up @@ -12,7 +12,7 @@
// scss-docs-start progress-css-vars
--#{$prefix}progress-height: #{$progress-height};
@include rfs($progress-font-size, --#{$prefix}progress-font-size);
--#{$prefix}progress-bg: #{$progress-bg}; // stylelint-disable-line custom-property-empty-line-before
--#{$prefix}progress-bg: #{$progress-bg};
--#{$prefix}progress-border-radius: #{$progress-border-radius};
--#{$prefix}progress-box-shadow: #{$progress-box-shadow};
--#{$prefix}progress-bar-color: #{$progress-bar-color};
Expand Down
2 changes: 0 additions & 2 deletions scss/_root.scss
@@ -1,5 +1,3 @@
// stylelint-disable custom-property-empty-line-before

:root {
// Note: Custom variable values only support SassScript inside `#{}`.

Expand Down
2 changes: 1 addition & 1 deletion scss/_toasts.scss
Expand Up @@ -5,7 +5,7 @@
--#{$prefix}toast-spacing: #{$toast-spacing};
--#{$prefix}toast-max-width: #{$toast-max-width};
@include rfs($toast-font-size, --#{$prefix}toast-font-size);
--#{$prefix}toast-color: #{$toast-color}; // stylelint-disable-line custom-property-empty-line-before
--#{$prefix}toast-color: #{$toast-color};
--#{$prefix}toast-bg: #{$toast-background-color};
--#{$prefix}toast-border-width: #{$toast-border-width};
--#{$prefix}toast-border-color: #{$toast-border-color};
Expand Down
2 changes: 0 additions & 2 deletions scss/_tooltip.scss
@@ -1,5 +1,3 @@
// stylelint-disable custom-property-empty-line-before

// Base class
.tooltip {
// scss-docs-start tooltip-css-vars
Expand Down
2 changes: 0 additions & 2 deletions scss/mixins/_buttons.scss
@@ -1,5 +1,3 @@
// stylelint-disable custom-property-empty-line-before

// Button variants
//
// Easily pump out default styles, as well as :hover, :focus, :active,
Expand Down
2 changes: 1 addition & 1 deletion scss/mixins/_pagination.scss
Expand Up @@ -5,6 +5,6 @@
--#{$prefix}pagination-padding-x: #{$padding-x};
--#{$prefix}pagination-padding-y: #{$padding-y};
@include rfs($font-size, --#{$prefix}pagination-font-size);
--#{$prefix}pagination-border-radius: #{$border-radius}; // stylelint-disable-line custom-property-empty-line-before
--#{$prefix}pagination-border-radius: #{$border-radius};
}
// scss-docs-end pagination-mixin

0 comments on commit 427c089

Please sign in to comment.