| Current File : /home/jvzmxxx/wiki1/extensions/Flow/.jshintrc |
{
"globals": {
"console": true,
"jQuery": true,
"JsDiff": true,
"Hogan": true,
"QUnit": true,
"mw": true,
"mediaWiki": true,
"strictEqual": true,
"deepEqual": true,
"ok": true,
"sinon": true,
"ve": true,
"Handlebars": true,
"initStorer": true,
"OO": true,
"moment": true,
"VisualEditorSupportCheck": true
},
"browser": true, // document, navigator, etc.
"curly": true, // requres curly braces around loops and conditionals
"devel": true, // console, alert, etc.
"eqeqeq": true, // prohibits == and !=
"es3": false, // needed to catch foo.new object keys, but disabled because of "static" keyword
"forin": false, // make for-in loops require hasOwnProperty check
"onevar": true, // only one var declaration per function
"supernew": true, // suppress warnings about "weird" object constructions
"trailing": true, // disallow trailing whitespace
"undef" : true, // prohibits the use of undefined variables
"unused": "vars" // complain about unused variables but not arguments
// "white": true // enforce Crockford rules
}