File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Sources/swift-format/Frontend Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 13
13
"NoBlockComments": false,
14
14
"OrderedImports": true,
15
15
"UseLetInEveryBoundCaseVariable": false,
16
- "UseSynthesizedInitializer": false
16
+ "UseSynthesizedInitializer": false,
17
+ "ReturnVoidInsteadOfEmptyTuple": true,
18
+ "NoVoidReturnOnFunctionSignature": true,
17
19
}
18
20
}
Original file line number Diff line number Diff line change @@ -40,7 +40,7 @@ class FormatFrontend: Frontend {
40
40
return
41
41
}
42
42
43
- let diagnosticHandler : ( SwiftDiagnostics . Diagnostic , SourceLocation ) -> ( ) = {
43
+ let diagnosticHandler : ( SwiftDiagnostics . Diagnostic , SourceLocation ) -> Void = {
44
44
( diagnostic, location) in
45
45
guard !self . lintFormatOptions. ignoreUnparsableFiles else {
46
46
// No diagnostics should be emitted in this mode.
You can’t perform that action at this time.
0 commit comments