mirror of https://github.com/twbs/bootstrap.git
Update Stylelint and our config too
This commit is contained in:
parent
0b3796e33d
commit
c488b8fcc3
|
@ -1,6 +1,6 @@
|
||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
"stylelint-config-twbs-bootstrap/scss"
|
"stylelint-config-twbs-bootstrap"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"declaration-property-value-disallowed-list": {
|
"declaration-property-value-disallowed-list": {
|
||||||
|
|
File diff suppressed because it is too large
Load Diff
|
@ -58,7 +58,7 @@
|
||||||
"docs-serve": "hugo server --port 9001 --disableFastRender",
|
"docs-serve": "hugo server --port 9001 --disableFastRender",
|
||||||
"docs-serve-only": "npx sirv-cli _site --port 9001",
|
"docs-serve-only": "npx sirv-cli _site --port 9001",
|
||||||
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
|
"lockfile-lint": "lockfile-lint --allowed-hosts npm --allowed-schemes https: --empty-hostname false --type npm --path package-lock.json",
|
||||||
"update-deps": "ncu -u -x \"globby,jquery,karma-browserstack-launcher,sinon,stylelint\" && echo Manually update site/assets/js/vendor",
|
"update-deps": "ncu -u -x \"globby,jquery,karma-browserstack-launcher,sinon\" && echo Manually update site/assets/js/vendor",
|
||||||
"release": "npm-run-all dist release-sri docs-build release-zip*",
|
"release": "npm-run-all dist release-sri docs-build release-zip*",
|
||||||
"release-sri": "node build/generate-sri.js",
|
"release-sri": "node build/generate-sri.js",
|
||||||
"release-version": "node build/change-version.js",
|
"release-version": "node build/change-version.js",
|
||||||
|
@ -137,8 +137,8 @@
|
||||||
"rollup": "^2.58.3",
|
"rollup": "^2.58.3",
|
||||||
"shelljs": "^0.8.4",
|
"shelljs": "^0.8.4",
|
||||||
"sinon": "^7.5.0",
|
"sinon": "^7.5.0",
|
||||||
"stylelint": "^13.13.1",
|
"stylelint": "^14.1.0",
|
||||||
"stylelint-config-twbs-bootstrap": "^2.2.4",
|
"stylelint-config-twbs-bootstrap": "^3.0.0",
|
||||||
"terser": "^5.9.0",
|
"terser": "^5.9.0",
|
||||||
"vnu-jar": "21.10.12"
|
"vnu-jar": "21.10.12"
|
||||||
},
|
},
|
||||||
|
|
|
@ -11,7 +11,7 @@
|
||||||
text-transform: none;
|
text-transform: none;
|
||||||
letter-spacing: normal;
|
letter-spacing: normal;
|
||||||
word-break: normal;
|
word-break: normal;
|
||||||
word-spacing: normal;
|
|
||||||
white-space: normal;
|
white-space: normal;
|
||||||
|
word-spacing: normal;
|
||||||
line-break: auto;
|
line-break: auto;
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// stylelint-disable declaration-no-important
|
// stylelint-disable declaration-no-important, selector-class-pattern
|
||||||
|
|
||||||
// Docsearch overrides
|
// Docsearch overrides
|
||||||
//
|
//
|
||||||
|
|
|
@ -6,8 +6,8 @@
|
||||||
|
|
||||||
.bd-placeholder-img {
|
.bd-placeholder-img {
|
||||||
@include font-size(1.125rem);
|
@include font-size(1.125rem);
|
||||||
text-anchor: middle;
|
|
||||||
user-select: none;
|
user-select: none;
|
||||||
|
text-anchor: middle;
|
||||||
}
|
}
|
||||||
|
|
||||||
.bd-placeholder-img-lg {
|
.bd-placeholder-img-lg {
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
// stylelint-disable comment-empty-line-before, declaration-block-single-line-max-declarations, selector-class-pattern
|
// stylelint-disable comment-empty-line-before, declaration-block-single-line-max-declarations
|
||||||
|
|
||||||
/* Background .chroma { background-color: #f0f0f0; } */
|
/* Background .chroma { background-color: #f0f0f0; } */
|
||||||
/* Other .chroma .x { } */
|
/* Other .chroma .x { } */
|
||||||
|
|
|
@ -1,12 +1,12 @@
|
||||||
{
|
{
|
||||||
"extends": [
|
"extends": [
|
||||||
"stylelint-config-twbs-bootstrap/css"
|
"stylelint-config-twbs-bootstrap"
|
||||||
],
|
],
|
||||||
"rules": {
|
"rules": {
|
||||||
"at-rule-no-vendor-prefix": null,
|
"at-rule-no-vendor-prefix": null,
|
||||||
"comment-empty-line-before": null,
|
"comment-empty-line-before": null,
|
||||||
"media-feature-name-no-vendor-prefix": null,
|
"media-feature-name-no-vendor-prefix": null,
|
||||||
"property-blacklist": null,
|
"property-disallowed-list": null,
|
||||||
"property-no-vendor-prefix": null,
|
"property-no-vendor-prefix": null,
|
||||||
"selector-no-qualifying-type": null,
|
"selector-no-qualifying-type": null,
|
||||||
"selector-no-vendor-prefix": null,
|
"selector-no-vendor-prefix": null,
|
||||||
|
|
Loading…
Reference in New Issue