mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-18 02:40:56 +00:00
f9d06141f4
Also fix ES3 compatibility errors. Upstreamed issue with sinon.stub().throws(): https://github.com/cjohansen/Sinon.JS/issues/488 Change-Id: I93b0d575484089b293d94ea860d245def4646cb4
43 lines
557 B
Plaintext
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"
|
|
]
|
|
}
|