mirror of
https://github.com/zulip/zulip.git
synced 2025-11-04 14:03:30 +00:00
eslint: Enable no-extra-parens rule.
Following sub-configuration is disabled:
"nestedBinaryExpressions": false,
This commit is contained in:
@@ -116,7 +116,7 @@ IterationProfiler.prototype = {
|
||||
if (this.sections[label] === undefined) {
|
||||
this.sections[label] = 0;
|
||||
}
|
||||
this.sections[label] += (now - this.last_time);
|
||||
this.sections[label] += now - this.last_time;
|
||||
this.last_time = now;
|
||||
},
|
||||
|
||||
|
||||
Reference in New Issue
Block a user