Merge "build: Update linters"

This commit is contained in:
jenkins-bot 2018-02-04 23:25:41 +00:00 committed by Gerrit Code Review
commit 63f169cd82
3 changed files with 9 additions and 9 deletions

View file

@ -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;

View file

@ -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();

View file

@ -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"
} }
} }