mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-12-01 03:16:14 +00:00
Merge "build: Update linters"
This commit is contained in:
commit
63f169cd82
|
@ -4,13 +4,13 @@
|
||||||
}
|
}
|
||||||
|
|
||||||
/* Preserve line breaks, but wrap too if browser supports it */
|
/* Preserve line breaks, but wrap too if browser supports it */
|
||||||
/* stylelint-disable-next-line selector-no-id */
|
/* stylelint-disable-next-line selector-max-id */
|
||||||
#mw-scribunto-output {
|
#mw-scribunto-output {
|
||||||
white-space: pre;
|
white-space: pre;
|
||||||
white-space: pre-wrap;
|
white-space: pre-wrap;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* stylelint-disable-next-line selector-no-id */
|
/* stylelint-disable-next-line selector-max-id */
|
||||||
#mw-scribunto-input {
|
#mw-scribunto-input {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
border: 0;
|
border: 0;
|
||||||
|
|
|
@ -299,8 +299,8 @@
|
||||||
if ( result.print !== '' ) {
|
if ( result.print !== '' ) {
|
||||||
println( result.print, 'mw-scribunto-print' );
|
println( result.print, 'mw-scribunto-print' );
|
||||||
}
|
}
|
||||||
if ( result[ 'return' ] !== '' ) {
|
if ( result.return !== '' ) {
|
||||||
println( result[ 'return' ], 'mw-scribunto-normalOutput' );
|
println( result.return, 'mw-scribunto-normalOutput' );
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
clearPending();
|
clearPending();
|
||||||
|
|
10
package.json
10
package.json
|
@ -4,13 +4,13 @@
|
||||||
"test": "grunt test"
|
"test": "grunt test"
|
||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"eslint-config-wikimedia": "0.4.0",
|
"eslint-config-wikimedia": "0.5.0",
|
||||||
"grunt": "1.0.1",
|
"grunt": "1.0.1",
|
||||||
"grunt-banana-checker": "0.6.0",
|
"grunt-banana-checker": "0.6.0",
|
||||||
"grunt-eslint": "19.0.0",
|
"grunt-eslint": "20.1.0",
|
||||||
"grunt-jsonlint": "1.1.0",
|
"grunt-jsonlint": "1.1.0",
|
||||||
"grunt-stylelint": "0.7.0",
|
"grunt-stylelint": "0.9.0",
|
||||||
"stylelint": "7.8.0",
|
"stylelint": "8.2.0",
|
||||||
"stylelint-config-wikimedia": "0.4.1"
|
"stylelint-config-wikimedia": "0.4.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue