organization because it was terrible before and hard to maintain. Now it should be much easier and there is still of a design decisions to figure out
21 lines
624 B
TOML
21 lines
624 B
TOML
# stylua.toml
|
|
|
|
# How many characters per line before wrapping
|
|
column_width = 80
|
|
|
|
# Indentation style: "Tabs" or "Spaces"
|
|
line_endings = "Unix"
|
|
indent_type = "Spaces"
|
|
indent_width = 4
|
|
|
|
# Quote styling: "AutoPreferDouble", "AutoPreferSingle", "ForceDouble", "ForceSingle"
|
|
quote_style = "AutoPreferDouble"
|
|
|
|
# Call parentheses: "Always", "NoSingleString", "None", "Input"
|
|
# "None" removes parens when a single string/table literal is passed: fn "arg" / fn { ... }
|
|
# "Always" keeps them strictly standard: fn("arg") / fn({ ... })
|
|
call_parentheses = "Always"
|
|
|
|
# Sorting and formatting behavior
|
|
collapse_simple_statement = "Never"
|