mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/RelatedArticles
synced 2024-11-13 18:26:56 +00:00
7ebe784fc2
Changes: * Extend the definition of all JavaScript files to include those in the tests directory * Run JSHint and JSCS against all JavaScript files * Fix the existing code style errors in the RelatedPagesGateway test Change-Id: Ia6d8fa63e0b86760857d4480a0575b57512fa36b
24 lines
298 B
Plaintext
24 lines
298 B
Plaintext
{
|
|
// Enforcing
|
|
"bitwise": true,
|
|
"eqeqeq": true,
|
|
"es3": true,
|
|
"latedef": true,
|
|
"noarg": true,
|
|
"nonew": true,
|
|
"undef": true,
|
|
"unused": true,
|
|
"strict": false,
|
|
|
|
// Environment
|
|
"browser": true,
|
|
|
|
"globals": {
|
|
"mw": false,
|
|
"$": false,
|
|
"jQuery": true,
|
|
"OO": true,
|
|
"QUnit": true
|
|
}
|
|
}
|