Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Stylelint: Disable custom-property-empty-line-before #36423

Merged
merged 1 commit into from May 23, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
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