Update packages

Update grunt-banana-checker to 0.4.0

Update grunt-jsonlint to 1.0.6

Update grunt-jscs to 2.5.0

Also support looking into sub folders for jshint and jscs.

Also fix some js code so

Replace

} ) ( mw, jQuery );

with

}( mediaWiki, jQuery ) );

Also remove a blank message that should not be there in gu.json

Also remove two blank messages in tl.json.

Change-Id: Ib8390de6fd6adfc4a9ad22c48c7872aac332d4ae
This commit is contained in:
Paladox 2015-12-16 12:56:14 +00:00 committed by Hashar
parent f88d5ab33a
commit 6564ed9fb7
5 changed files with 9 additions and 7 deletions

View file

@ -0,0 +1 @@
node_modules/

View file

@ -27,6 +27,6 @@
"jquery": true,
"globals": {
"mw": false
"mediaWiki": false
}
}

View file

@ -17,9 +17,10 @@ module.exports = function ( grunt ) {
jshintrc: true
},
all: [
'*.js',
'**/*.js',
'{.jsduck,build}/**/*.js',
'modules/**/*.js'
'modules/**/*.js',
'!node_modules/**'
]
},
banana: {

View file

@ -35,4 +35,4 @@
);
} );
} );
} )( mw, jQuery );
}( mediaWiki, jQuery ) );

View file

@ -9,9 +9,9 @@
"devDependencies": {
"grunt": "0.4.5",
"grunt-cli": "0.1.13",
"grunt-banana-checker": "0.2.2",
"grunt-banana-checker": "0.4.0",
"grunt-contrib-jshint": "0.11.3",
"grunt-jsonlint": "1.0.4",
"grunt-jscs": "2.1.0"
"grunt-jsonlint": "1.0.6",
"grunt-jscs": "2.5.0"
}
}