-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
2 changed files
with
53 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,2 +1,3 @@ | ||
[tools] | ||
swiftlint = "0.54.0" | ||
swiftformat = "0.53.8" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,52 @@ | ||
# file options | ||
|
||
--exclude Tuist,Project.swift | ||
|
||
# format options | ||
|
||
--allman false | ||
--anonymousforeach convert | ||
--binarygrouping 4,8 | ||
--commas inline | ||
--comments indent | ||
--decimalgrouping 3,5 | ||
--elseposition same-line | ||
--empty void | ||
--exponentcase lowercase | ||
--exponentgrouping disabled | ||
--fractiongrouping disabled | ||
--header ignore | ||
--hexgrouping 4,8 | ||
--hexliteralcase uppercase | ||
--ifdef indent | ||
--indent 4 | ||
--indentcase false | ||
--importgrouping testable-bottom | ||
--linebreaks lf | ||
--marktypes never | ||
--maxwidth none | ||
--octalgrouping 4,8 | ||
--onelineforeach convert | ||
--operatorfunc spaced | ||
--patternlet hoist | ||
--ranges no-space | ||
--self remove | ||
--semicolons inline | ||
--stripunusedargs always | ||
--swiftversion 5.7 | ||
--trimwhitespace always | ||
--typeblanklines preserve | ||
--wraparguments preserve | ||
--wrapcollections preserve | ||
|
||
# rules | ||
|
||
--enable blankLinesBetweenImports | ||
--enable blockComments | ||
--enable docComments | ||
--enable isEmpty | ||
--enable markTypes | ||
--enable noExplicitOwnership | ||
--enable wrapConditionalBodies | ||
--enable wrapEnumCases | ||
--enable wrapMultilineConditionalAssignment |