mediawiki-extensions-Multim.../.jshintrc
Gergő Tisza f9d06141f4 Make JSHint enforce ES3 compatibility
Also fix ES3 compatibility errors.
Upstreamed issue with sinon.stub().throws():
https://github.com/cjohansen/Sinon.JS/issues/488

Change-Id: I93b0d575484089b293d94ea860d245def4646cb4
2014-05-28 22:58:33 +00:00

43 lines
557 B
Plaintext

{
/* Common */
// Enforcing
"camelcase": true,
"curly": true,
"eqeqeq": true,
"immed": true,
"latedef": true,
"newcap": true,
"noarg": true,
"noempty": true,
"nonew": true,
"quotmark": "single",
"trailing": true,
"undef": true,
"unused": true,
// Legacy
"onevar": true,
/* Local */
// Enforcing
"bitwise": true,
"es3": true,
// Relaxing
"laxbreak": true,
"smarttabs": true,
"multistr": true,
// Environment
"browser": true,
// Legacy
"nomen": true,
"predef": [
"mediaWiki",
"jQuery",
"QUnit",
"OO",
"moment"
]
}