2013-08-17 18:21:42 +00:00
|
|
|
{
|
|
|
|
"camelcase": true,
|
|
|
|
"curly": true,
|
|
|
|
"eqeqeq": true,
|
|
|
|
"immed": true,
|
|
|
|
"latedef": true,
|
|
|
|
"newcap": true,
|
|
|
|
"supernew": true,
|
|
|
|
"shadow": true,
|
|
|
|
"noarg": true,
|
|
|
|
"noempty": true,
|
|
|
|
"nonew": true,
|
|
|
|
"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,
|
2015-11-19 00:54:43 +00:00
|
|
|
"jquery": true,
|
2013-08-17 18:21:42 +00:00
|
|
|
|
2015-11-19 00:54:43 +00:00
|
|
|
"globals": {
|
2016-02-03 21:03:41 +00:00
|
|
|
"mediaWiki": false,
|
|
|
|
"mw": false,
|
|
|
|
"OO": false,
|
|
|
|
"ve": false
|
2015-11-19 00:54:43 +00:00
|
|
|
}
|
2013-08-17 18:21:42 +00:00
|
|
|
}
|