mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-23 10:18:22 +00:00
build: Update eslint-config-wikimedia to 0.9.0
Change-Id: Ia31860b5fcf43ec512fb82c2c332ac08cbf12cf1
This commit is contained in:
parent
663a66dc0a
commit
052c68f639
|
@ -1,11 +1,10 @@
|
|||
{
|
||||
"extends": "wikimedia",
|
||||
"env": {
|
||||
"browser": true
|
||||
},
|
||||
"extends": [
|
||||
"wikimedia/client",
|
||||
"wikimedia/jquery"
|
||||
],
|
||||
"globals": {
|
||||
"mw": false,
|
||||
"$": false,
|
||||
"OO": false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -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 === '' ) {
|
||||
|
|
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue