]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Cleanup stylelint comments
authorMartijn Cuppens <martijn.cuppens@gmail.com>
Mon, 22 Oct 2018 18:57:09 +0000 (20:57 +0200)
committerXhmikosR <xhmikosr@gmail.com>
Mon, 22 Oct 2018 21:21:33 +0000 (00:21 +0300)
scss/_close.scss
scss/_dropdown.scss
scss/_forms.scss
scss/_reboot.scss
scss/mixins/_forms.scss

index a0dd1e2af171d2d28b87ec4f648cf6e5bd3fb084..33ec8234565973b375fb63df69734ec52c5dfa67 100644 (file)
 // If you want the anchor version, it requires `href="#"`.
 // See https://developer.mozilla.org/en-US/docs/Web/Events/click#Safari_Mobile
 
-// stylelint-disable property-no-vendor-prefix, selector-no-qualifying-type
+// stylelint-disable-next-line selector-no-qualifying-type
 button.close {
   padding: 0;
   background-color: transparent;
   border: 0;
-  -webkit-appearance: none;
+  appearance: none;
 }
-// stylelint-enable
index 3ec5a34e4ca42d1ff7207d3ca43ce52e5f26ccd4..eafce8d0b4c7d5e13590e3c6d9facc4b7b83c332 100644 (file)
 }
 
 // When enabled Popper.js, reset basic dropdown position
-// stylelint-disable no-duplicate-selectors
+// stylelint-disable-next-line no-duplicate-selectors
 .dropdown-menu {
   &[x-placement^="top"],
   &[x-placement^="right"],
     bottom: auto;
   }
 }
-// stylelint-enable no-duplicate-selectors
 
 // Dividers (basically an `<hr>`) within the dropdown
 .dropdown-divider {
index 29493861d5395a0c9be3bcf57e02b247099cde16..b1df40be20ec134e01d5f6f09ffdb5df8bdade01 100644 (file)
@@ -155,7 +155,7 @@ select.form-control {
   @include border-radius($input-border-radius-lg);
 }
 
-// stylelint-disable no-duplicate-selectors
+// stylelint-disable-next-line no-duplicate-selectors
 select.form-control {
   &[size],
   &[multiple] {
@@ -163,10 +163,10 @@ select.form-control {
   }
 }
 
+// stylelint-disable-next-line no-duplicate-selectors
 textarea.form-control {
   height: auto;
 }
-// stylelint-enable no-duplicate-selectors
 
 // Form groups
 //
index 8649f0dcfed017f24f9564f26dd0c83c95250863..4cb858f8803c663f9c6fb1c88535e03205d71a44 100644 (file)
@@ -40,12 +40,11 @@ html {
   }
 }
 
-// stylelint-disable selector-list-comma-newline-after
 // Shim for "new" HTML5 structural elements to display correctly (IE10, older browsers)
+// stylelint-disable-next-line selector-list-comma-newline-after
 article, aside, figcaption, figure, footer, header, hgroup, main, nav, section {
   display: block;
 }
-// stylelint-enable selector-list-comma-newline-after
 
 // Body
 //
@@ -95,12 +94,11 @@ hr {
 //
 // By default, `<h1>`-`<h6>` all receive top and bottom margins. We nuke the top
 // margin for easier control within type scales as it avoids margin collapsing.
-// stylelint-disable selector-list-comma-newline-after
+// stylelint-disable-next-line selector-list-comma-newline-after
 h1, h2, h3, h4, h5, h6 {
   margin-top: 0;
   margin-bottom: $headings-margin-bottom;
 }
-// stylelint-enable selector-list-comma-newline-after
 
 // Reset margins on paragraphs
 //
@@ -163,12 +161,10 @@ dfn {
   font-style: italic; // Add the correct font style in Android 4.3-
 }
 
-// stylelint-disable font-weight-notation
 b,
 strong {
   font-weight: bolder; // Add the correct font weight in Chrome, Edge, and Safari
 }
-// stylelint-enable font-weight-notation
 
 small {
   font-size: 80%; // Add the correct font size in all browsers
index 7895b983de1b3e7750697e223b3ec779fef3372d..b2f2454bb7cd3bcf7aeff81c89982656acfa94c9 100644 (file)
@@ -80,7 +80,7 @@
     }
   }
 
-  // stylelint-disable selector-no-qualifying-type
+  // stylelint-disable-next-line selector-no-qualifying-type
   textarea.form-control {
     .was-validated &:#{$state},
     &.is-#{$state} {
@@ -90,7 +90,6 @@
       }
     }
   }
-  // stylelint-enable selector-no-qualifying-type
 
   .custom-select {
     .was-validated &:#{$state},