mirror of
https://github.com/zulip/zulip.git
synced 2025-11-05 22:43:42 +00:00
Switch no-empty eslint rule from warning to error (in .eslintrc)
This commit is contained in:
@@ -124,7 +124,7 @@
|
||||
"no-div-regex": 2,
|
||||
"no-dupe-keys": 2,
|
||||
"no-else-return": 2,
|
||||
"no-empty": 1,
|
||||
"no-empty": 2,
|
||||
"no-empty-character-class": 2,
|
||||
"no-eq-null": 2,
|
||||
"no-eval": 2,
|
||||
|
||||
@@ -337,4 +337,5 @@ return exports;
|
||||
try {
|
||||
exports.common = common;
|
||||
} catch (e) {
|
||||
// continue regardless of error
|
||||
}
|
||||
|
||||
@@ -161,6 +161,7 @@ exports.strcmp = (function () {
|
||||
var collator = new Intl.Collator();
|
||||
return collator.compare;
|
||||
} catch (e) {
|
||||
// continue regardless of error
|
||||
}
|
||||
|
||||
return function util_strcmp (a, b) {
|
||||
|
||||
Reference in New Issue
Block a user