Update linting tools, config, and fix subsequent failures

Change-Id: I41e080915441367b3a2ab2de7d7a096872a2f2e8
This commit is contained in:
Ed Sanders
2016-04-13 17:13:06 +01:00
parent 4c5263e3f0
commit 3cfb0d67e5
7 changed files with 151 additions and 132 deletions

View File

@@ -107,7 +107,9 @@
};
mw.uls.getCountryCode = function () {
// jscs:disable requireCamelCaseOrUpperCaseIdentifiers
return window.Geo && ( window.Geo.country || window.Geo.country_code );
// jscs:enable requireCamelCaseOrUpperCaseIdentifiers
};
mw.uls.getAcceptLanguageList = function () {