We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0bf9b8e commit aeec597Copy full SHA for aeec597
Sources/generate-pipeline/main.swift
@@ -22,7 +22,7 @@ let outputFile = sourcesDir.appendingPathComponent("swift-format")
22
let fm = FileManager.default
23
24
// These rules will not be added to the pipeline
25
-let suppressRules = ["UseEarlyExits"]
+let suppressRules = ["UseEarlyExits", "UseWhereClausesInForLoops"]
26
27
enum PassKind {
28
case format, lint, file
Sources/swift-format/PopulatePipeline.swift
@@ -234,12 +234,6 @@ func populate(_ pipeline: Pipeline) {
234
VariableDeclSyntax.self
235
)
236
237
- pipeline.addFormatter(
238
- UseWhereClausesInForLoops.self,
239
- for:
240
- ForInStmtSyntax.self
241
- )
242
-
243
/// MARK: Linting Passes
244
245
pipeline.addLinter(
0 commit comments