Javascript: Autoformat.

This commit is contained in:
Anders Schack-Mulligen
2019-01-11 11:02:42 +01:00
parent 28261d6787
commit e58094c732
472 changed files with 1723 additions and 1834 deletions

View File

@@ -1,7 +1,8 @@
import javascript
from Expr e
where e.isPure() and
e.getParent() instanceof ExprStmt and
not e.getParent() instanceof Directive // new check
select e, "This expression has no effect."
where
e.isPure() and
e.getParent() instanceof ExprStmt and
not e.getParent() instanceof Directive // new check
select e, "This expression has no effect."