Update Stylelint and our config too

This commit is contained in:
XhmikosR 2021-12-14 09:40:42 +02:00
parent 0b3796e33d
commit c488b8fcc3
8 changed files with 252 additions and 1937 deletions

View File

@ -1,6 +1,6 @@
{
"extends": [
"stylelint-config-twbs-bootstrap/scss"
"stylelint-config-twbs-bootstrap"
],
"rules": {
"declaration-property-value-disallowed-list": {

2169
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -58,7 +58,7 @@
"docs-serve": "hugo server --port 9001 --disableFastRender",
"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",
"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-sri": "node build/generate-sri.js",
"release-version": "node build/change-version.js",
@ -137,8 +137,8 @@
"rollup": "^2.58.3",
"shelljs": "^0.8.4",
"sinon": "^7.5.0",
"stylelint": "^13.13.1",
"stylelint-config-twbs-bootstrap": "^2.2.4",
"stylelint": "^14.1.0",
"stylelint-config-twbs-bootstrap": "^3.0.0",
"terser": "^5.9.0",
"vnu-jar": "21.10.12"
},

View File

@ -11,7 +11,7 @@
text-transform: none;
letter-spacing: normal;
word-break: normal;
word-spacing: normal;
white-space: normal;
word-spacing: normal;
line-break: auto;
}

View File

@ -1,4 +1,4 @@
// stylelint-disable declaration-no-important
// stylelint-disable declaration-no-important, selector-class-pattern
// Docsearch overrides
//

View File

@ -6,8 +6,8 @@
.bd-placeholder-img {
@include font-size(1.125rem);
text-anchor: middle;
user-select: none;
text-anchor: middle;
}
.bd-placeholder-img-lg {

View File

@ -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; } */
/* Other .chroma .x { } */

View File

@ -1,12 +1,12 @@
{
"extends": [
"stylelint-config-twbs-bootstrap/css"
"stylelint-config-twbs-bootstrap"
],
"rules": {
"at-rule-no-vendor-prefix": null,
"comment-empty-line-before": null,
"media-feature-name-no-vendor-prefix": null,
"property-blacklist": null,
"property-disallowed-list": null,
"property-no-vendor-prefix": null,
"selector-no-qualifying-type": null,
"selector-no-vendor-prefix": null,