darklua icon indicating copy to clipboard operation
darklua copied to clipboard

A command line tool that transforms Lua code

Results 79 darklua issues
Sort by recently updated
recently updated
newest added

I've attached a file in @jeparlefrancais's discord direct messages due to the agreements made by work for a file that is causing this issue. Of our 200+ files, this is...

This would be similar to the `inject_global_value` rule. You would provide a Lua/Luau file that returns a table, and all values of the table would be injected into your luau...

Luau recently added floor division with the `//` operator. https://luau-lang.org/2023/11/01/luau-recap-october-2023.html#floor-division Darklua should support this feature. Full-moon added support for this in 1.19.0.

There seem to have some interest in building tools based on darklua. The current docs (published on [docs,rs](https://docs.rs/darklua/0.11.2/darklua_core/)) are pretty light. It would be good to share: - [ ]...

documentation

The goal here is to make it possible so people using other tools like deno or bun to create things, you could process files inside of a script without having...

Type declarations needs to be adjusted when bundling and darklua should be able to do that!

enhancement

In GitLab by @matthargett on Oct 3, 2021, 13:04 per #46 , discover when a wrapper function for things that are const-return in code or via those rules. let's say...

When using the `inject_global_value` rule with an environment variable that is not set, darklua emits a warning. To avoid that warning, there should be a property to set a default...

Right now the errors surfaced from serde are very unhelpful and generic.

Darklua already uses some repositories that have unit tests to test commands and re-run unit tests to make sure the transformations did not change any expected behavior. Additionally, darklua could...