Chore: Normalize the way we use eslint-disable

This commit is contained in:
Pierre-Yves Gérardy 2018-06-01 21:24:02 +02:00 committed by Pierre-Yves Gérardy
parent 6283aa4a7d
commit 3f5cabc5c5
5 changed files with 12 additions and 19 deletions

View file

@ -61,9 +61,7 @@ function longestIncreasingSubsequence(a) {
v = result.length - 1
while (u < v) {
/*eslint-disable no-bitwise*/
var c = ((u + v) / 2) | 0
/*eslint-enable no-bitwise*/
var c = ((u + v) / 2) | 0 // eslint-disable-line no-bitwise
if (a[result[c]] < a[i]) {
u = c + 1
} else {