Initial commit
This commit is contained in:
commit
1db16227b2
31 changed files with 2175 additions and 0 deletions
41
.swiftformat
Normal file
41
.swiftformat
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
# SwiftFormat Configuration for Menu-Whisper
|
||||
|
||||
# Indentation
|
||||
--indent 4
|
||||
--indentcase false
|
||||
--smarttabs enabled
|
||||
|
||||
# Spacing
|
||||
--spaces 4
|
||||
--trailingspace ignore
|
||||
--semicolons never
|
||||
|
||||
# Line breaks
|
||||
--maxwidth 120
|
||||
--linebreaks lf
|
||||
--wraparguments preserve
|
||||
--wraptypealiases preserve
|
||||
--wrapparameters preserve
|
||||
--wrapcollections preserve
|
||||
|
||||
# Braces
|
||||
--allman false
|
||||
--elseposition same-line
|
||||
|
||||
# Comments
|
||||
--stripunusedargs closure-only
|
||||
|
||||
# Imports
|
||||
--importgrouping testable-bottom
|
||||
|
||||
# Other formatting options
|
||||
--redundanttype inferred
|
||||
--closingparen balanced
|
||||
--commas inline
|
||||
--trimwhitespace always
|
||||
--insertlines enabled
|
||||
--removelines enabled
|
||||
--emptybraces no-space
|
||||
|
||||
# Disable certain rules that conflict with team preferences
|
||||
--disable redundantSelf
|
||||
Loading…
Add table
Add a link
Reference in a new issue