javascript icon indicating copy to clipboard operation
javascript copied to clipboard

Rule not enforced

Open KamenB opened this issue 9 years ago • 1 comments

Hello! I noticed this rule was not being enforced - just recommended. Is there a reason for that?

KamenB avatar Jul 12 '17 15:07 KamenB

There's no lint rule for that because it's impossible to enforce at build time - there's no way to statically know in if (foo) { what value foo refers to.

ljharb avatar Jul 12 '17 16:07 ljharb