Files
ports/devel/stylua/files/example_stylua.toml
edd 3587190ac8 Import devel/stylua.
pkg/DESCR:
```
Deterministic code formatter for Lua 5.1, 5.2, 5.3, 5.4, LuaJIT and
Luau, built using full-moon. StyLua is inspired by the likes of
prettier, it parses your Lua codebase, and prints it back out from
scratch, enforcing a consistent code style.
```

Tested by Laurent Cheylus and rsadowski@, thanks.

OK rsadowski@ for a slightly earlier version of the port (only the version and
deps have changed in the meantime).
2025-04-24 08:09:04 +00:00

17 lines
344 B
TOML

# Example stylua.toml.
#
# Note that stylua will also read `.editorconfig` files.
syntax = "All"
column_width = 120
line_endings = "Unix"
indent_type = "Tabs"
indent_width = 4
quote_style = "AutoPreferDouble"
call_parentheses = "Always"
collapse_simple_statement = "Never"
space_after_function_names = "Never"
[sort_requires]
enabled = false