mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-30 18:45:07 +00:00
d440540cf8
Per https://www.mediawiki.org/wiki/CC/JS#Linting. Update a few files to bring the tests closer to passing. Change-Id: I08b190e8b44dbdbeb56de5c380d0ed4a8394aca2
32 lines
393 B
Plaintext
32 lines
393 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 */
|
|
|
|
// Environment
|
|
"browser": true,
|
|
|
|
"predef": [
|
|
"jQuery",
|
|
"QUnit",
|
|
"mediaWiki"
|
|
]
|
|
}
|