mirror of
https://github.com/openbsd/ports.git
synced 2026-06-18 07:24:23 +02:00
3587190ac8
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).
17 lines
344 B
TOML
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
|