mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Cite
synced 2024-11-28 00:40:12 +00:00
6564ed9fb7
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
33 lines
622 B
Plaintext
33 lines
622 B
Plaintext
{
|
|
"camelcase": true,
|
|
"curly": true,
|
|
"eqeqeq": true,
|
|
"immed": true,
|
|
"latedef": true,
|
|
"newcap": true,
|
|
"supernew": true,
|
|
"shadow": true,
|
|
"noarg": true,
|
|
"noempty": true,
|
|
"nonew": true,
|
|
"quotmark": false, // sometimes double quotes make sense, e.g. "foo's" is better readable than 'foo\'s'
|
|
"trailing": true,
|
|
"undef": true,
|
|
"unused": "vars", // we want to allow unused function parameters
|
|
"laxbreak": true,
|
|
"laxcomma": false,
|
|
"onevar": false,
|
|
"bitwise": false,
|
|
"forin": false,
|
|
"regexp": false,
|
|
"scripturl": true,
|
|
|
|
// Environment
|
|
"browser": true,
|
|
"jquery": true,
|
|
|
|
"globals": {
|
|
"mediaWiki": false
|
|
}
|
|
}
|