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

Feature request: Support use of not_globals within a standard definition #235

Open
Shados opened this issue Nov 4, 2024 · 2 comments
Open

Comments

@Shados
Copy link

Shados commented Nov 4, 2024

I'd like to be able to define custom standards that specify not_globals, and have those apply to the finalised definition table used.

Example use case: I have a sandboxing approach that involves removing a set of globals from the sandboxed environment, and it is consistent across Lua versions. With this change, I'd be able to use define a custom std my_sandbox, and then use e.g. std = "lua52+my_sandbox" or std = "lua51+my_sandbox" for specific files as appropriate.

@carrywang05
Copy link

carrywang05 commented Nov 4, 2024 via email

@alerque
Copy link

alerque commented Nov 4, 2024

This is the wrong repository. The owner of this repository has passed away and nobody is able to close this issue or work on the project from here. Since nobody else can, we kindly request you close this issue to keep things tidy and keep the notice about the repository near the top of issues.

Development work on Luacheck has moved to this repository. Please re-open this issue there, thank you.

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

No branches or pull requests

3 participants