mediawiki-extensions-Cite/.jshintrc
Ed Sanders 8b0e9c728c VisualEditor: Bring in unit tests from VE
Change-Id: I7da5f25f61d0c7f2331ab927c35d8f6a975041b8
2016-02-05 13:41:43 -08:00

36 lines
580 B
Plaintext

{
"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,
"jquery": true,
"globals": {
"mediaWiki": false,
"mw": false,
"OO": false,
"ve": false,
"QUnit": false
}
}