]> git.ipfire.org Git - thirdparty/bootstrap.git/commitdiff
stylelint: pass the ` --rd` flag (#32063)
authorXhmikosR <xhmikosr@gmail.com>
Fri, 6 Nov 2020 10:00:03 +0000 (12:00 +0200)
committerGitHub <noreply@github.com>
Fri, 6 Nov 2020 10:00:03 +0000 (12:00 +0200)
* stylelint: pass the ` --rd` flag

Should report any needless disables

* Update _button-group.scss

* Update _floating-labels.scss

package.json
scss/_button-group.scss
scss/forms/_floating-labels.scss

index c2047c73b06ada77be8fe0198b1376ce84ca70f1..15170d720a004bfabe21f7cebb35c46afda3947b 100644 (file)
@@ -23,7 +23,7 @@
     "css": "npm-run-all css-compile css-prefix css-minify",
     "css-compile": "sass --style expanded --source-map --embed-sources --no-error-css scss/:dist/css/",
     "css-lint": "npm-run-all --continue-on-error --parallel css-lint-*",
-    "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache",
+    "css-lint-stylelint": "stylelint \"**/*.{css,scss}\" --cache --cache-location .cache/.stylelintcache --rd",
     "css-lint-vars": "fusv scss/ site/assets/scss/",
     "css-minify": "cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap.min.css dist/css/bootstrap.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-grid.min.css dist/css/bootstrap-grid.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-utilities.min.css dist/css/bootstrap-utilities.css && cleancss --level 1 --format breakWith=lf --source-map --source-map-inline-sources --output dist/css/bootstrap-reboot.min.css dist/css/bootstrap-reboot.css",
     "css-prefix": "npm-run-all --parallel css-prefix-*",
index b15c6292edfe31c8fee09d23828e933b59b5715a..1571d1ea98697fda7e9c386965118951766357dc 100644 (file)
@@ -1,5 +1,3 @@
-// stylelint-disable selector-no-qualifying-type
-
 // Make the div behave like a button
 .btn-group,
 .btn-group-vertical {
index 42e56f27b3898a575398c780fa6d6aa8c0668194..8b2e2b8eb6f05d61a6194474b4ddf2489487471f 100644 (file)
@@ -1,5 +1,3 @@
-// stylelint-disable selector-no-vendor-prefix
-
 .form-floating {
   position: relative;