Skip to content

Commit c6f08e8

Browse files
committed
Fix lint complaints
1 parent e75185f commit c6f08e8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

acorn/src/parseutil.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -18,9 +18,9 @@ pp.strictDirective = function(start) {
1818
skipWhiteSpace.lastIndex = start + match[0].length
1919
let spaceAfter = skipWhiteSpace.exec(this.input), end = spaceAfter.index + spaceAfter[0].length
2020
let next = this.input.charAt(end)
21-
return next == ";" || next == "}" ||
21+
return next === ";" || next === "}" ||
2222
(lineBreak.test(spaceAfter[0]) &&
23-
!(/[(`\.\[+\-\/*%<>=,?^&]/.test(next) || next == "!" && this.input.charAt(end + 1) == "="))
23+
!(/[(`.[+\-/*%<>=,?^&]/.test(next) || next === "!" && this.input.charAt(end + 1) === "="))
2424
}
2525
start += match[0].length
2626

0 commit comments

Comments
 (0)