Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/twbs/bootstrap.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXhmikosR <xhmikosr@gmail.com>2020-11-06 13:00:03 +0300
committerGitHub <noreply@github.com>2020-11-06 13:00:03 +0300
commit82f24161320dc98fc529414e7cbf5d21e6f7616c (patch)
tree03babb9f552c86503232f7f578357053377f4312
parentc1bb1acf54bb86c7ea8cbb2c5d81bdf960d50f84 (diff)
stylelint: pass the ` --rd` flag (#32063)
* stylelint: pass the ` --rd` flag Should report any needless disables * Update _button-group.scss * Update _floating-labels.scss
-rw-r--r--package.json2
-rw-r--r--scss/_button-group.scss2
-rw-r--r--scss/forms/_floating-labels.scss2
3 files changed, 1 insertions, 5 deletions
diff --git a/package.json b/package.json
index c2047c73b0..15170d720a 100644
--- a/package.json
+++ b/package.json
@@ -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-*",
diff --git a/scss/_button-group.scss b/scss/_button-group.scss
index b15c6292ed..1571d1ea98 100644
--- a/scss/_button-group.scss
+++ b/scss/_button-group.scss
@@ -1,5 +1,3 @@
-// stylelint-disable selector-no-qualifying-type
-
// Make the div behave like a button
.btn-group,
.btn-group-vertical {
diff --git a/scss/forms/_floating-labels.scss b/scss/forms/_floating-labels.scss
index 42e56f27b3..8b2e2b8eb6 100644
--- a/scss/forms/_floating-labels.scss
+++ b/scss/forms/_floating-labels.scss
@@ -1,5 +1,3 @@
-// stylelint-disable selector-no-vendor-prefix
-
.form-floating {
position: relative;