eslint: change no-plusplus from warning to 2 and fix violations.

This commit is contained in:
kevv87
2016-11-30 18:05:04 +00:00
committed by Tim Abbott
parent c90da24541
commit e6369fc29b
23 changed files with 41 additions and 41 deletions

View File

@@ -260,7 +260,7 @@ exports.MessageList.prototype = {
// for lower_bound purposes, find the real leftmost index (first non-local id)
do {
potential_closest_matches.push(closest);
closest--;
closest -= 1;
} while (closest > 0 && this._is_localonly_id(items[closest - 1].id));
}
potential_closest_matches.push(closest);
@@ -308,7 +308,7 @@ exports.MessageList.prototype = {
break;
}
next_msg_id = msg_id;
++idx;
idx += 1;
}
if (next_msg_id > 0) {