mediawiki-extensions-Cite/.jshintrc
James D. Forrester 549e95ee5f build: Test JS code with jshint and jscs via npm
Change-Id: I4d20af87b900d10c20f1a2c3fff09dc3425d2e55
2015-11-18 16:54:55 -08:00

33 lines
615 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": {
"mw": false
}
}