]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
Disable important flag on Sass linter (#20627)
authorMark Otto <markd.otto@gmail.com>
Mon, 5 Sep 2016 00:58:20 +0000 (17:58 -0700)
committerGitHub <noreply@github.com>
Mon, 5 Sep 2016 00:58:20 +0000 (17:58 -0700)
scss/.scss-lint.yml
scss/_navbar.scss
scss/_print.scss
scss/_reboot.scss
scss/_tables.scss
scss/utilities/_visibility.scss

index 66c63335c639c3e35a82a7cc0cfd79ee03e49203..65c365ddbca1f9e328ccbd678fb9a54d62fde1bf 100644 (file)
@@ -89,7 +89,7 @@ linters:
     enabled: true
 
   ImportantRule:
-    enabled: true
+    enabled: false
 
   ImportPath:
     enabled: true
index 8d8352c73f91f51e791c2c95818e1f3f705a6218..881af0db655a5ddcf34ea84d7bad2693f3cb3bef 100644 (file)
 //
 // Custom override for collapse plugin in navbar.
 
-// scss-lint:disable ImportantRule
 .navbar-toggleable {
   &-xs {
     @include clearfix;
     }
   }
 }
-// scss-lint:enable ImportantRule
index b2c93735c71c375b6a858c0455417a8f9bb56c62..84556602f1422168c9b7c4f1681fcaf730737273 100644 (file)
@@ -1,4 +1,4 @@
-// scss-lint:disable ImportantRule, QualifyingElement
+// scss-lint:disable QualifyingElement
 
 // Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css
 
index 02c579d32cb8bafa1660e2d38a81576c0824e56d..1a1e4728b5fbddb251d686d6354a727bfe423c7d 100644 (file)
@@ -1,4 +1,4 @@
-// scss-lint:disable ImportantRule, QualifyingElement, DuplicateProperty
+// scss-lint:disable QualifyingElement, DuplicateProperty
 
 // Reboot
 //
index 342c788c920e5267b7f744fef1b51769b604ec26..235ec984e06ccbd1ac989a31602fe411d4046f82 100644 (file)
     }
   }
 
-  // scss-lint:disable ImportantRule
   tr {
     float: left;
 
       border: $table-border-width solid $table-border-color;
     }
   }
-  // scss-lint:enable ImportantRule
 }
index 63891677e4fc0f2626db87bf26f02f99639ee830..cdb142869802d3838360ee7b26086784cd2e701c 100644 (file)
@@ -1,5 +1,3 @@
-// scss-lint:disable ImportantRule
-
 //
 // Visibility utilities
 //