mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/DiscussionTools
synced 2024-11-24 00:13:36 +00:00
Update linters
Autofix some stylelint inssues Change-Id: I5200899d253724a61bde127ccb00d8c0108af205
This commit is contained in:
parent
b7c74a34f4
commit
d31254005f
|
@ -5,7 +5,7 @@
|
||||||
border-radius: 6px;
|
border-radius: 6px;
|
||||||
margin: -2px;
|
margin: -2px;
|
||||||
|
|
||||||
&:hover:after {
|
&:hover::after {
|
||||||
content: ' ' attr( title );
|
content: ' ' attr( title );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -63,7 +63,7 @@
|
||||||
pointer-events: all;
|
pointer-events: all;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
content: '⚠';
|
content: '⚠';
|
||||||
color: #000;
|
color: #000;
|
||||||
background: #fff;
|
background: #fff;
|
||||||
|
|
|
@ -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
|
// 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).
|
// when the buttons wrap to a new line (T325416).
|
||||||
// (Except on Minerva, which uses block placements for the buttons rather than inline.)
|
// (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
|
// Must use character escapes to avoid CSS minifier messing up the spaces
|
||||||
content: '\20\20';
|
content: '\20\20';
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
|
|
|
@ -230,11 +230,11 @@
|
||||||
li {
|
li {
|
||||||
display: inline;
|
display: inline;
|
||||||
|
|
||||||
&:after {
|
&::after {
|
||||||
content: ' • ';
|
content: ' • ';
|
||||||
}
|
}
|
||||||
|
|
||||||
&:last-child:after {
|
&:last-child::after {
|
||||||
content: '';
|
content: '';
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -257,7 +257,7 @@
|
||||||
padding: 0;
|
padding: 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
&:before {
|
&::before {
|
||||||
content: attr( data-label );
|
content: attr( data-label );
|
||||||
color: #808080;
|
color: #808080;
|
||||||
}
|
}
|
||||||
|
|
2083
package-lock.json
generated
2083
package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -6,11 +6,11 @@
|
||||||
"test": "grunt test"
|
"test": "grunt test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.22.1",
|
"eslint-config-wikimedia": "0.24.0",
|
||||||
"grunt": "1.5.3",
|
"grunt": "1.6.1",
|
||||||
"grunt-banana-checker": "0.10.0",
|
"grunt-banana-checker": "0.10.0",
|
||||||
"grunt-eslint": "24.0.0",
|
"grunt-eslint": "24.0.1",
|
||||||
"grunt-stylelint": "0.18.0",
|
"grunt-stylelint": "0.18.0",
|
||||||
"stylelint-config-wikimedia": "0.13.0"
|
"stylelint-config-wikimedia": "0.14.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue