build: Update stylelint-config-wikimedia to 0.13.0

Change-Id: I122005b6817cf1997002dbe7a1bcbd249c9842cb
This commit is contained in:
Ed Sanders 2022-05-16 14:04:28 +01:00
parent 36a4001a01
commit 7f7d5c4ae5
9 changed files with 30764 additions and 5182 deletions

View File

@ -1,8 +1,13 @@
{ {
"extends": "stylelint-config-wikimedia", "extends": [
"stylelint-config-wikimedia/support-modern",
"stylelint-config-wikimedia/mediawiki"
],
"reportNeedlessDisables": true,
"rules": { "rules": {
"selector-max-id": null, "declaration-property-unit-disallowed-list": null,
"no-descending-specificity": null, "no-descending-specificity": null,
"declaration-property-unit-disallowed-list": null "selector-class-pattern": null,
"selector-max-id": null
} }
} }

35923
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -46,8 +46,9 @@
"mustache": "3.0.1", "mustache": "3.0.1",
"node-fetch": "2.6.1", "node-fetch": "2.6.1",
"pa11y": "6.1.1", "pa11y": "6.1.1",
"postcss-less": "6.0.0",
"pre-commit": "1.2.2", "pre-commit": "1.2.2",
"stylelint-config-wikimedia": "0.11.1", "stylelint-config-wikimedia": "0.13.0",
"svgo": "2.8.0", "svgo": "2.8.0",
"typescript": "4.5.5", "typescript": "4.5.5",
"vue": "2.6.11", "vue": "2.6.11",

View File

@ -66,7 +66,7 @@
.selected { .selected {
// Overwrite above in browsers that support `rgba()`. // Overwrite above in browsers that support `rgba()`.
background: rgba( 255, 255, 255, 1 ); // stylelint-disable-line declaration-block-no-shorthand-property-overrides background: rgba( 255, 255, 255, 1 );
a, a,
a:visited { a:visited {

View File

@ -33,8 +33,10 @@
// Undo the proprietary styles, we provide our own. // Undo the proprietary styles, we provide our own.
// Support: Safari/iOS `none` needed, Chrome would accept `textfield` as well. See T247299. // Support: Safari/iOS `none` needed, Chrome would accept `textfield` as well. See T247299.
// stylelint-disable-next-line plugin/no-unsupported-browser-features
-webkit-appearance: none; -webkit-appearance: none;
// Support: Firefox. // Support: Firefox.
// stylelint-disable-next-line plugin/no-unsupported-browser-features
-moz-appearance: textfield; -moz-appearance: textfield;
.vector-search-box-inner:hover & { .vector-search-box-inner:hover & {

View File

@ -17,6 +17,7 @@
} }
.vector-menu-heading { .vector-menu-heading {
// stylelint-disable-next-line plugin/no-unsupported-browser-features
font-size: initial; font-size: initial;
// reset padding styles in MenuDropdown.less with right padding for arrow. // reset padding styles in MenuDropdown.less with right padding for arrow.
padding-right: 30px; padding-right: 30px;
@ -53,6 +54,7 @@
input:active + .vector-menu-heading { input:active + .vector-menu-heading {
&.mw-ui-progressive.mw-ui-quiet { &.mw-ui-progressive.mw-ui-quiet {
.mw-ui-icon { .mw-ui-icon {
// stylelint-disable-next-line plugin/no-unsupported-browser-features
filter: brightness( 0 ) invert( 1 ); filter: brightness( 0 ) invert( 1 );
} }

View File

@ -80,6 +80,7 @@
min-width: 200px; min-width: 200px;
max-width: unit( 350px / @font-size-browser, em ); max-width: unit( 350px / @font-size-browser, em );
top: 100%; top: 100%;
// stylelint-disable-next-line plugin/no-unsupported-browser-features
left: unset; left: unset;
right: 0; right: 0;
border-top-width: 1px; border-top-width: 1px;

View File

@ -182,6 +182,7 @@ body {
} }
.mw-table-of-contents-container { .mw-table-of-contents-container {
// stylelint-disable-next-line plugin/no-unsupported-browser-features
position: sticky; position: sticky;
float: left; float: left;
clear: both; clear: both;

View File

@ -44,6 +44,7 @@
animation-delay: -1ms !important; /* 1 */ animation-delay: -1ms !important; /* 1 */
animation-duration: 1ms !important; /* 1 */ animation-duration: 1ms !important; /* 1 */
animation-iteration-count: 1 !important; /* 1 */ animation-iteration-count: 1 !important; /* 1 */
// stylelint-disable-next-line plugin/no-unsupported-browser-features
background-attachment: initial !important; /* 2 */ background-attachment: initial !important; /* 2 */
scroll-behavior: auto !important; /* 3 */ scroll-behavior: auto !important; /* 3 */
transition-delay: 0s !important; /* 4 */ transition-delay: 0s !important; /* 4 */