Skip to content

Latest commit

 

History

History
46 lines (33 loc) · 1.15 KB

stylua.md

File metadata and controls

46 lines (33 loc) · 1.15 KB
description title layout
stylua is a linter for Lua
Trunk | How to run stylua
title description tableOfContents outline pagination
visible
true
visible
visible
true
visible
true
visible
true

stylua

stylua is a linter for Lua.

You can enable the stylua linter with:

trunk check enable stylua

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

You can move these files to .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