We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 040bf5e commit efe86efCopy full SHA for efe86ef
javascriptlint/warnings.py
@@ -518,6 +518,8 @@ def want_assign_or_call(node):
518
# Ignore function calls.
519
if child.kind == tok.LP and child.opcode == op.CALL:
520
return
521
+ if child.kind == tok.STRING and child.atom == 'use strict':
522
+ return
523
# Allow new function() { } as statements.
524
if child.kind == tok.NEW:
525
# The first kid is the constructor, followed by its arguments.
0 commit comments