1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
= false # Use verbose output
= false # Don't reformat out of line modules
= 100 # (100) Maximum width of each line
= 100 # (80) Ideal width of each line
= 4 # Number of spaces per tab
= 100 # (60) Maximum width of the args of a function call before falling back to vertical formatting
= 16 # Maximum width in the body of a struct lit before falling back to vertical formatting
= "Unix" # Unix or Windows line endings
= "SameLineWhere" # [AlwaysNextLine|PreferSameLine|SameLineWhere] Brace style for functions
= "SameLineWhere" # [AlwaysNextLine|PreferSameLine|SameLineWhere] Brace style for structs and enums
= true # Put empty-body implementations on a single line
= true # Put empty-body functions on a single line
= false # (false) Put single-expression functions on a single line
= "WithArgs" # [WithArgs|WithWhereClause] Location of return type in function declaration
= true # If function argument parenthesis goes on a newline
= "Compressed" # (Tall) [Compressed|Tall|CompressedIfEmpty] Argument density in functions
= "Visual" # (Visual) [Visual|Block] Layout of function arguments
= "Visual" # [Inherit|Tabbed|Visual] Indent on function arguments
= "Wide" # [Compressed|Wide] Determines if '+' or '=' are wrapped in spaces in the punctuation of types
= "CompressedIfEmpty" # [Compressed|Tall|CompressedIfEmpty] Density of a where clause
= "Tabbed" # [Inherit|Tabbed|Visual] Indentation of a where clause
= "Vertical" # [Vertical|Horizontal|HorizontalVertical|Mixed] Element layout inside a where clause
= "Visual" # [Inherit|Tabbed|Visual] Indentation style of a where predicate
= false # Put a trailing comma on where clauses
= "Visual" # [Inherit|Tabbed|Visual] Indentation of generics
= "Vertical" # [Always|Never|Vertical] If there is a trailing comma on structs
= "Vertical" # [Always|Never|Vertical] If there is a trailing comma on literal structs
= "Block" # [Visual|Block] Style of struct definition
= "PreferSingle" # [PreferSingle|ForceMulti] Multiline style on literal structs
= true # Put a trailing comma on enum declarations
= "Always" # [Always|Unnumbered|Never] Report all, none or unnumbered occurrences of TODO in source file comments
= "Never" # [Always|Unnumbered|Never] Report all, none or unnumbered occurrences of FIXME in source file comments
= "Visual" # [Inherit|Tabbed|Visual] Indent on chain base
= "Visual" # [Inherit|Tabbed|Visual] Indentation of chain
= false # Reorder import statements alphabetically
= true # Put else on same line as closing brace for if statements
= true # Format string literals where necessary
= false # Always format string literals
= true # Allow last call in method chain to break the line
= true # Retain some formatting characteristics from the source code
= false # Use tab characters for indentation, spaces for alignment
= false # Break comments to fit on the line
= true # Convert /* */ comments to // comments where possible
= true # Wrap multiline match arms in blocks
= false # Put a trailing comma after a block based match arm (non-block arms are not affected)
= true # Put a trailing comma after a wildcard arm
= "Overwrite" # (Replace) [Replace|Overwrite|Display|Diff|Coverage|Plain|Checkstyle] What Write Mode to use when none is supplied: Replace, Overwrite, Display, Diff, Coverage