Skip to content

Commit 6452eff

Browse files
committed
Bring over swift-syntax's formatter config into swift-format.
1 parent 6e4c4b5 commit 6452eff

File tree

1 file changed

+18
-0
lines changed

1 file changed

+18
-0
lines changed

.swift-format

+18
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,18 @@
1+
{
2+
"version": 1,
3+
"lineLength": 120,
4+
"indentation": {
5+
"spaces": 2
6+
},
7+
"lineBreakBeforeEachArgument": true,
8+
"indentConditionalCompilationBlocks": false,
9+
"prioritizeKeepingFunctionOutputTogether": true,
10+
"rules": {
11+
"AlwaysUseLowerCamelCase": false,
12+
"AmbiguousTrailingClosureOverload": false,
13+
"NoBlockComments": false,
14+
"OrderedImports": true,
15+
"UseLetInEveryBoundCaseVariable": false,
16+
"UseSynthesizedInitializer": false
17+
}
18+
}

0 commit comments

Comments
 (0)