mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Scribunto
synced 2024-11-24 16:25:00 +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 */
|
||||
/* stylelint-disable-next-line selector-no-id */
|
||||
/* stylelint-disable-next-line selector-max-id */
|
||||
#mw-scribunto-output {
|
||||
white-space: pre;
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
/* stylelint-disable-next-line selector-no-id */
|
||||
/* stylelint-disable-next-line selector-max-id */
|
||||
#mw-scribunto-input {
|
||||
width: 100%;
|
||||
border: 0;
|
||||
|
|
|
@ -299,8 +299,8 @@
|
|||
if ( result.print !== '' ) {
|
||||
println( result.print, 'mw-scribunto-print' );
|
||||
}
|
||||
if ( result[ 'return' ] !== '' ) {
|
||||
println( result[ 'return' ], 'mw-scribunto-normalOutput' );
|
||||
if ( result.return !== '' ) {
|
||||
println( result.return, 'mw-scribunto-normalOutput' );
|
||||
}
|
||||
}
|
||||
clearPending();
|
||||
|
|
10
package.json
10
package.json
|
@ -4,13 +4,13 @@
|
|||
"test": "grunt test"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint-config-wikimedia": "0.4.0",
|
||||
"eslint-config-wikimedia": "0.5.0",
|
||||
"grunt": "1.0.1",
|
||||
"grunt-banana-checker": "0.6.0",
|
||||
"grunt-eslint": "19.0.0",
|
||||
"grunt-eslint": "20.1.0",
|
||||
"grunt-jsonlint": "1.1.0",
|
||||
"grunt-stylelint": "0.7.0",
|
||||
"stylelint": "7.8.0",
|
||||
"stylelint-config-wikimedia": "0.4.1"
|
||||
"grunt-stylelint": "0.9.0",
|
||||
"stylelint": "8.2.0",
|
||||
"stylelint-config-wikimedia": "0.4.2"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue