Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add allowUndefinedVariablesInFileScope option #193

Merged
merged 4 commits into from
Jul 14, 2020

Conversation

sirbrillig
Copy link
Owner

@sirbrillig sirbrillig commented Jul 14, 2020

This adds a new option called allowUndefinedVariablesInFileScope that, if set, will never set a variable defined at the file's top-level scope to undefined.

Fixes #125

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Report undefined/unused variables only inside functions
1 participant