Update linters

Autofix some stylelint inssues

Change-Id: I5200899d253724a61bde127ccb00d8c0108af205
This commit is contained in:
Ed Sanders 2023-03-22 18:41:31 +00:00 committed by Bartosz Dziewoński
parent b7c74a34f4
commit d31254005f
5 changed files with 976 additions and 1127 deletions

View file

@ -5,7 +5,7 @@
border-radius: 6px;
margin: -2px;
&:hover:after {
&:hover::after {
content: ' ' attr( title );
}
}
@ -63,7 +63,7 @@
pointer-events: all;
}
&:before {
&::before {
content: '⚠';
color: #000;
background: #fff;

View file

@ -30,7 +30,7 @@ h1, h2, h3, h4, h5, h6 {
// Add space before the buttons using actual spaces rather than margin, so that they may collapse
// when the buttons wrap to a new line (T325416).
// (Except on Minerva, which uses block placements for the buttons rather than inline.)
body:not( .skin-minerva ) &:before {
body:not( .skin-minerva ) &::before {
// Must use character escapes to avoid CSS minifier messing up the spaces
content: '\20\20';
white-space: pre-wrap;

View file

@ -230,11 +230,11 @@
li {
display: inline;
&:after {
&::after {
content: ' • ';
}
&:last-child:after {
&:last-child::after {
content: '';
}
}
@ -257,7 +257,7 @@
padding: 0;
}
&:before {
&::before {
content: attr( data-label );
color: #808080;
}

2083
package-lock.json generated

File diff suppressed because it is too large Load diff

View file

@ -6,11 +6,11 @@
"test": "grunt test"
},
"devDependencies": {
"eslint-config-wikimedia": "0.22.1",
"grunt": "1.5.3",
"eslint-config-wikimedia": "0.24.0",
"grunt": "1.6.1",
"grunt-banana-checker": "0.10.0",
"grunt-eslint": "24.0.0",
"grunt-eslint": "24.0.1",
"grunt-stylelint": "0.18.0",
"stylelint-config-wikimedia": "0.13.0"
"stylelint-config-wikimedia": "0.14.0"
}
}