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

Mention luacheck's built-in Luanti support #205

Open
mark-wiemer opened this issue Feb 27, 2025 · 1 comment
Open

Mention luacheck's built-in Luanti support #205

mark-wiemer opened this issue Feb 27, 2025 · 1 comment
Labels
Content: Creators Content directed at creators

Comments

@mark-wiemer
Copy link
Contributor

          worth denoting its built in support for minetest/luanti or naw?

Originally posted by @wsor4035 in #203 (comment)

@appgurueu
Copy link
Contributor

Certainly worth mentioning IMO.

Doesn't have to be much, just note that there is a builtin luanti "standard" 1, how to use it in .luacheckrc, that it's pretty comprehensive but may at times lag behind (in which case: just add the extra APIs you're using manually to .luacheckrc), and that it generally tries to target the newest Luanti version (and maybe where they can find the source, in case they explicitly want to target an older version or want to contribute to bring it up to date with a new Luanti version).

If modders don't know this, they will probably do lazier configs which give them worse linting (e.g. no error for core.frobnication because core was just declared an opaque global), or they'd end up unnecessarily redoing the work which went into the standard themselves if they were to do it properly.

Footnotes

  1. The term Luacheck uses for out-of-the box configs for certain Lua environments

@GreenXenith GreenXenith added Content: General Alterations or additions to written content Content: Creators Content directed at creators and removed Content: General Alterations or additions to written content labels Feb 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Content: Creators Content directed at creators
Projects
None yet
Development

No branches or pull requests

3 participants