-
Notifications
You must be signed in to change notification settings - Fork 0
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
0 parents
commit dec80b2
Showing
2 changed files
with
73 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,72 @@ | ||
# options | ||
--swiftversion 5.7 | ||
--self init-only # redundantSelf | ||
--importgrouping testable-bottom # sortedImports | ||
--commas always # trailingCommas | ||
--trimwhitespace always # trailingSpace | ||
--indent 2 #indent | ||
--ifdef no-indent #indent | ||
--indentstrings true #indent | ||
--wraparguments before-first # wrapArguments | ||
--wrapparameters before-first # wrapArguments | ||
--wrapcollections before-first # wrapArguments | ||
--wrapconditions after-first # wrapArguments | ||
--wraptypealiases before-first # wrapArguments | ||
--funcattributes prev-line # wrapAttributes | ||
--typeattributes prev-line # wrapAttributes | ||
--wrapternary before-operators # wrap | ||
--extensionacl on-declarations # extensionAccessControl | ||
--patternlet inline # hoistPatternLet | ||
--redundanttype inferred # redundantType | ||
--typeblanklines preserve # blankLinesAtStartOfScope, blankLinesAtEndOfScope | ||
--someAny disabled # opaqueGenericParameters | ||
--maxwidth 130 # wrap | ||
|
||
# rules | ||
--rules anyObjectProtocol | ||
--rules blankLinesBetweenScopes | ||
--rules consecutiveSpaces | ||
--rules duplicateImports | ||
--rules elseOnSameLine | ||
--rules extensionAccessControl | ||
--rules hoistPatternLet | ||
--rules indent | ||
--rules redundantParens | ||
--rules redundantReturn | ||
--rules redundantSelf | ||
--rules redundantType | ||
--rules redundantPattern | ||
--rules redundantGet | ||
--rules redundantFileprivate | ||
--rules redundantRawValues | ||
--rules sortedImports | ||
--rules sortDeclarations | ||
--rules strongifiedSelf | ||
--rules trailingCommas | ||
--rules trailingSpace | ||
--rules typeSugar | ||
--rules wrap | ||
--rules wrapMultilineStatementBraces | ||
--rules wrapArguments | ||
--rules wrapAttributes | ||
--rules braces | ||
--rules redundantClosure | ||
--rules redundantInit | ||
--rules redundantVoidReturnType | ||
--rules redundantOptionalBinding | ||
--rules spaceInsideBrackets | ||
--rules spaceInsideBraces | ||
--rules spaceAroundBraces | ||
--rules spaceInsideParens | ||
--rules spaceAroundParens | ||
--rules enumNamespaces | ||
--rules blockComments | ||
--rules spaceAroundComments | ||
--rules spaceInsideComments | ||
--rules blankLinesAtStartOfScope | ||
--rules blankLinesAtEndOfScope | ||
--rules emptyBraces | ||
--rules andOperator | ||
--rules opaqueGenericParameters | ||
--rules genericExtensions | ||
--rules trailingClosures |
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 @@ | ||
# 당근마켓 Swift Style Guide |