Skip to content

Commit

Permalink
fix(lint): repare lint execution
Browse files Browse the repository at this point in the history
  • Loading branch information
LE DIOURON Kevin committed Mar 29, 2021
1 parent b63960a commit 54055d4
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion js/src/carousel.js
Original file line number Diff line number Diff line change
Expand Up @@ -406,7 +406,7 @@ class Carousel extends BaseComponent {
if (!this._config.wrap) {
if (isGoingToWrap) {
// Reset the animation on last progress indicator when last slide is active
if (isNextDirection && this._indicatorsElement && !this._element.hasAttribute('data-bs-slide')) {
if (isNext && this._indicatorsElement && !this._element.hasAttribute('data-bs-slide')) {
this._element.classList.add(CLASS_NAME_DONE)
}

Expand Down
4 changes: 0 additions & 4 deletions scss/forms/_form-control.scss
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,6 @@
}

// File input buttons theming
// stylelint-disable-next-line selector-pseudo-element-no-unknown
&::file-selector-button {
padding: subtract($input-padding-y, 1px) $input-padding-x add($input-padding-y, 1px); // Boosted mod
margin: calc((#{$input-padding-y} - 1px) * -1) (-$input-padding-x) calc((#{$input-padding-y} + 1px) * -1); // stylelint-disable-line function-disallowed-list
Expand All @@ -91,15 +90,13 @@
}

// Boosted mod
// stylelint-disable-next-line selector-pseudo-element-no-unknown
&:disabled::file-selector-button {
color: $input-disabled-color;
background-color: $input-disabled-bg;
border-color: $input-disabled-border-color;
}
// End mod

// stylelint-disable-next-line selector-pseudo-element-no-unknown
&:hover:not(:disabled):not([readonly])::file-selector-button {
background-color: $form-file-button-hover-bg;
}
Expand Down Expand Up @@ -169,7 +166,6 @@
@include font-size($input-font-size-lg);
@include border-radius($input-border-radius-lg);

// stylelint-disable-next-line selector-pseudo-element-no-unknown
&::file-selector-button {
padding: subtract($input-padding-y-lg, 1px) $input-padding-x-lg add($input-padding-y-lg, 1px); // Boosted mod
margin: calc((#{$input-padding-y} - 1px) * -1) (-$input-padding-x) calc((#{$input-padding-y} + 1px) * -1); // stylelint-disable-line function-disallowed-list
Expand Down
2 changes: 1 addition & 1 deletion site/content/docs/5.0/examples/sidebars/sidebars.js
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
/* global bootstrap: false */
/* global boosted: false */
(function () {
'use strict'
var tooltipTriggerList = [].slice.call(document.querySelectorAll('[data-bs-toggle="tooltip"]'))
Expand Down

0 comments on commit 54055d4

Please sign in to comment.