diff --git a/lib/engine.js b/lib/engine.js index a697d6e..dd53e44 100644 --- a/lib/engine.js +++ b/lib/engine.js @@ -117,8 +117,7 @@ function middie (complete) { } function sanitizeUrl (url) { - /* eslint-disable-next-line no-var */ - for (var i = 0, len = url.length; i < len; i++) { + for (let i = 0, len = url.length; i < len; i++) { const charCode = url.charCodeAt(i) if (charCode === 63 || charCode === 35) { return url.slice(0, i)