Skip to content

Commit

Permalink
Stylelint: remove redundant disables (twbs#31006)
Browse files Browse the repository at this point in the history
  • Loading branch information
XhmikosR authored Jun 12, 2020
1 parent 2a4e97b commit 3d8d001
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 5 deletions.
2 changes: 1 addition & 1 deletion scss/_buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@

&:disabled,
&.disabled,
fieldset:disabled & { // stylelint-disable-line selector-no-qualifying-type
fieldset:disabled & {
pointer-events: none;
opacity: $btn-disabled-opacity;
@include box-shadow(none);
Expand Down
2 changes: 0 additions & 2 deletions scss/_tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,6 @@
}

// Highlight border color between thead, tbody and tfoot.
// stylelint-disable-next-line selector-max-universal
> :not(:last-child) > :last-child > * {
border-bottom-color: $table-group-seperator-color;
}
Expand Down Expand Up @@ -77,7 +76,6 @@
// to the `td`s or `th`s

.table-bordered {
// stylelint-disable-next-line selector-max-universal
> :not(caption) > * {
border-width: $table-border-width 0;

Expand Down
2 changes: 0 additions & 2 deletions site/assets/scss/_component-examples.scss
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
// stylelint-disable no-duplicate-selectors

//
// Grid examples
//
Expand Down

0 comments on commit 3d8d001

Please sign in to comment.