-
Notifications
You must be signed in to change notification settings - Fork 445
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
1 parent
f02b243
commit 9a0ca56
Showing
1 changed file
with
51 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 |
---|---|---|
@@ -0,0 +1,51 @@ | ||
# rules | ||
--enable isEmpty | ||
--enable redundantFileprivate | ||
--enable redundantReturn | ||
--enable redundantBackticks | ||
--enable redundantBreak | ||
--enable redundantClosure | ||
--enable redundantExtensionACL | ||
--enable organizeDeclarations | ||
--enable redundantFileprivate | ||
--enable redundantGet | ||
--enable redundantInit | ||
--enable redundantInternal | ||
--enable redundantLet | ||
--enable redundantLetError | ||
--enable redundantNilInit | ||
--enable redundantObjc | ||
--enable redundantOptionalBinding | ||
--enable redundantParens | ||
--enable redundantPattern | ||
--enable redundantStaticSelf | ||
--enable redundantVoidReturnType | ||
--disable redundantRawValues | ||
--disable sortImports | ||
--disable andOperator | ||
--disable wrapMultilineStatementBraces | ||
--disable extensionAccessControl | ||
|
||
# format options | ||
--indentcase true | ||
--trimwhitespace nonblank-lines | ||
--maxwidth 130 | ||
--commas inline | ||
--comments indent | ||
--decimalgrouping 3,5 | ||
--exponentcase lowercase | ||
--exponentgrouping disabled | ||
--extensionacl on-declarations | ||
--fractiongrouping disabled | ||
--ifdef no-indent | ||
--importgrouping testable-top | ||
--operatorfunc no-space | ||
--nospaceoperators ..<, ... | ||
--selfrequired validate | ||
--stripunusedargs closure-only | ||
--wraparguments preserve | ||
--wrapcollections preserve | ||
--wrapparameters preserve | ||
|
||
# organizeDeclarations | ||
--markcategories false |