mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-27 08:20:02 +00:00
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:
parent
f88d5ab33a
commit
6564ed9fb7
|
@ -0,0 +1 @@
|
|||
node_modules/
|
|
@ -27,6 +27,6 @@
|
|||
"jquery": true,
|
||||
|
||||
"globals": {
|
||||
"mw": false
|
||||
"mediaWiki": false
|
||||
}
|
||||
}
|
||||
|
|
|
@ -17,9 +17,10 @@ module.exports = function ( grunt ) {
|
|||
jshintrc: true
|
||||
},
|
||||
all: [
|
||||
'*.js',
|
||||
'**/*.js',
|
||||
'{.jsduck,build}/**/*.js',
|
||||
'modules/**/*.js'
|
||||
'modules/**/*.js',
|
||||
'!node_modules/**'
|
||||
]
|
||||
},
|
||||
banana: {
|
||||
|
|
|
@ -35,4 +35,4 @@
|
|||
);
|
||||
} );
|
||||
} );
|
||||
} )( mw, jQuery );
|
||||
}( mediaWiki, jQuery ) );
|
||||
|
|
|
@ -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"
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue