stylua
Last updated
Last updated
is a linter for Lua.
You can enable the stylua linter with:
stylua will be auto-enabled if any of its config files are present: stylua.toml
, .stylua.toml
.
stylua supports the following config files:
stylua.toml
.stylua.toml
You can move these files to .trunk/configs
and trunk check
will still find them. See for more info. Trunk Code Quality provides a default stylua.toml
if your project does not already have one.
stylua Trunk Code Quality
Trunk Code Quality's