[eslint] remove exception for prefer-const, and fix violations

This commit is contained in:
spalger
2017-06-14 19:19:43 -07:00
parent 40078d6965
commit 24454c27a8
4 changed files with 4 additions and 8 deletions

View File

@ -449,7 +449,7 @@ YamlDoc.prototype = {
catcher = null;
}
let timeoutId;
let timeoutId; // eslint-disable-line prefer-const
const cb = _.bind(function (error, body) {
this._last_requests_response = body;
clearTimeout(timeoutId);