add optional undeclared variable check transformer

This commit is contained in:
Sebastian McKenzie
2015-01-20 00:17:22 +11:00
parent da16bf1e42
commit f322252c36
6 changed files with 22 additions and 0 deletions

View File

@@ -0,0 +1,5 @@
function foo() {
}
foo();

View File

@@ -0,0 +1,3 @@
{
"optional": ["undeclaredVariableCheck"]
}

View File

@@ -0,0 +1 @@
foo();

View File

@@ -0,0 +1,3 @@
{
"throws": "Reference to undeclared variable"
}