build: Upgrade grunt-eslint from 19.0.0 to 20.0.0, and other linters

Change-Id: I4a8b9ece024164053e69a2a8f6fbd6406737d373
This commit is contained in:
Ed Sanders 2017-07-18 13:01:51 +01:00
parent 2fdce87b92
commit 24a024ee8e
2 changed files with 6 additions and 5 deletions

View File

@ -30,7 +30,7 @@
function encodeURIComponentForCSS( str ) { function encodeURIComponentForCSS( str ) {
return encodeURIComponent( str ) return encodeURIComponent( str )
.replace( /[!'\(\)\*]/g, function ( chr ) { .replace( /[!'*()]/g, function ( chr ) {
return '%' + chr.charCodeAt( 0 ).toString( 16 ); return '%' + chr.charCodeAt( 0 ).toString( 16 );
} ); } );
} }

View File

@ -6,11 +6,12 @@
"devDependencies": { "devDependencies": {
"eslint-config-wikimedia": "0.4.0", "eslint-config-wikimedia": "0.4.0",
"grunt": "1.0.1", "grunt": "1.0.1",
"grunt-banana-checker": "0.5.0", "grunt-banana-checker": "0.6.0",
"grunt-contrib-watch": "1.0.0", "grunt-contrib-watch": "1.0.0",
"grunt-eslint": "19.0.0", "grunt-eslint": "20.0.0",
"grunt-jsonlint": "1.0.7", "grunt-jsonlint": "1.1.0",
"grunt-stylelint": "0.7.0", "grunt-stylelint": "0.8.0",
"stylelint": "7.8.0",
"stylelint-config-wikimedia": "0.4.1" "stylelint-config-wikimedia": "0.4.1"
} }
} }