mirror of
https://github.com/ninxsoft/Mist.git
synced 2025-05-30 15:05:18 -04:00
Add base SwiftFormat config
This commit is contained in:
parent
18867c7d81
commit
d4204b4271
3 changed files with 8 additions and 1 deletions
1
.swift-version
Normal file
1
.swift-version
Normal file
|
@ -0,0 +1 @@
|
||||||
|
5.9
|
7
.swiftformat
Normal file
7
.swiftformat
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
--commas inline
|
||||||
|
--decimalgrouping 3,4
|
||||||
|
--disable wrapMultilineStatementBraces
|
||||||
|
--enable docComments
|
||||||
|
--hexgrouping none
|
||||||
|
--redundanttype explicit
|
||||||
|
--wrapconditions before-first
|
|
@ -38,7 +38,6 @@ opt_in_rules:
|
||||||
- empty_string
|
- empty_string
|
||||||
- empty_xctest_method
|
- empty_xctest_method
|
||||||
- enum_case_associated_values_count
|
- enum_case_associated_values_count
|
||||||
- explicit_enum_raw_value
|
|
||||||
- explicit_init
|
- explicit_init
|
||||||
- explicit_type_interface
|
- explicit_type_interface
|
||||||
- file_header
|
- file_header
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue