stylua is a linter for Lua. You can enable the stylua linter with:Documentation Index
Fetch the complete documentation index at: https://trunk-4cab4936-sam-gutentag-flaky-tests-new-monitors.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Auto Enabling
stylua will be auto-enabled if any of its config files are present:stylua.toml, .stylua.toml.
Settings
stylua supports the following config files:stylua.toml.stylua.toml
.trunk/configs and trunk check will still find them. See Moving Linters for more info. Trunk Code Quality provides a default stylua.toml if your project does not already have one.
Links
- stylua site
- stylua Trunk Code Quality integration source
- Trunk Code Quality’s open source plugins repo