build: Update eslint-config-wikimedia to 0.9.0

Change-Id: Ia31860b5fcf43ec512fb82c2c332ac08cbf12cf1
This commit is contained in:
Ed Sanders 2018-11-23 15:50:29 +00:00
parent 663a66dc0a
commit 052c68f639
3 changed files with 6 additions and 8 deletions

View file

@ -1,11 +1,10 @@
{
"extends": "wikimedia",
"env": {
"browser": true
},
"extends": [
"wikimedia/client",
"wikimedia/jquery"
],
"globals": {
"mw": false,
"$": false,
"OO": false
}
}

View file

@ -178,7 +178,7 @@
* @param {jQuery.Event} e The event fired when the function is called
*/
function fetchFilter() {
var filterId = $.trim( $( '#mw-abusefilter-load-filter input' ).val() ),
var filterId = $( '#mw-abusefilter-load-filter input' ).val().trim(),
api;
if ( filterId === '' ) {

View file

@ -5,8 +5,7 @@
"test": "grunt test"
},
"devDependencies": {
"eslint-config-wikimedia": "0.8.1",
"eslint-plugin-qunit": "3.3.1",
"eslint-config-wikimedia": "0.9.0",
"grunt": "1.0.3",
"grunt-banana-checker": "0.6.0",
"grunt-eslint": "21.0.0",