Chore: Normalize the way we use eslint-disable
This commit is contained in:
parent
6283aa4a7d
commit
3f5cabc5c5
5 changed files with 12 additions and 19 deletions
|
|
@ -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 {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue