Created
October 21, 2019 03:09
-
-
Save jaclync/5b75f09967d8b05b029fc450b155232c to your computer and use it in GitHub Desktop.
`swift-format`: default configurations
This file contains hidden or 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
{ | |
"blankLineBetweenMembers" : { | |
"ignoreSingleLineProperties" : true | |
}, | |
"indentation" : { | |
"spaces" : 2 | |
}, | |
"lineBreakBeforeControlFlowKeywords" : false, | |
"lineBreakBeforeEachArgument" : false, | |
"lineLength" : 100, | |
"maximumBlankLines" : 1, | |
"respectsExistingLineBreaks" : true, | |
"rules" : { | |
"AllPublicDeclarationsHaveDocumentation" : true, | |
"AlwaysUseLowerCamelCase" : true, | |
"AmbiguousTrailingClosureOverload" : true, | |
"BeginDocumentationCommentWithOneLineSummary" : true, | |
"BlankLineBetweenMembers" : true, | |
"CaseIndentLevelEqualsSwitch" : true, | |
"DoNotUseSemicolons" : true, | |
"DontRepeatTypeInStaticProperties" : true, | |
"FullyIndirectEnum" : true, | |
"GroupNumericLiterals" : true, | |
"IdentifiersMustBeASCII" : true, | |
"MultiLineTrailingCommas" : true, | |
"NeverForceUnwrap" : true, | |
"NeverUseForceTry" : true, | |
"NeverUseImplicitlyUnwrappedOptionals" : true, | |
"NoAccessLevelOnExtensionDeclaration" : true, | |
"NoBlockComments" : true, | |
"NoCasesWithOnlyFallthrough" : true, | |
"NoEmptyTrailingClosureParentheses" : true, | |
"NoLabelsInCasePatterns" : true, | |
"NoLeadingUnderscores" : true, | |
"NoParensAroundConditions" : true, | |
"NoVoidReturnOnFunctionSignature" : true, | |
"OneCasePerLine" : true, | |
"OneVariableDeclarationPerLine" : true, | |
"OnlyOneTrailingClosureArgument" : true, | |
"OrderedImports" : true, | |
"ReturnVoidInsteadOfEmptyTuple" : true, | |
"UseEnumForNamespacing" : true, | |
"UseLetInEveryBoundCaseVariable" : true, | |
"UseShorthandTypeNames" : true, | |
"UseSingleLinePropertyGetter" : true, | |
"UseSynthesizedInitializer" : true, | |
"UseTripleSlashForDocumentationComments" : true, | |
"ValidateDocumentationComments" : true | |
}, | |
"tabWidth" : 8, | |
"version" : 1 | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment