-
Notifications
You must be signed in to change notification settings - Fork 316
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
A way to disable "setting non-standard global variable" ? #3
Comments
I could simply add an option to filter such warnings, but I think it would be more useful to have an option(e,g, bar = {}
function bar.foo() end
...
bar.foo() wouldn't produce warnings with such option enabled. This is actually on my (virtual) todo list, so it will be added by the next release. |
I've just added an option( |
Hi ! How can I activate this setting ? |
@X-Raym hi, you can pass |
Thank you again for your quick support ! I tried to modify the file located in / If may be more flexible if we had buttons (or at least config settings) to toggle these behaviors right from Atom. 🎅 |
@X-Raym try modifying file called |
Hello Peter,
There is a way via command line to just disable this setting? On our (kinda old) code I need to expose some globals in a module. There is a way to disable this check via command line args?
I still want to check for accessing global variables (I don't want --no-global)
Example:
I just want one warning on this (
accessing undefined variable foo
)The text was updated successfully, but these errors were encountered: