Skip to content

Commit 248ffaf

Browse files
committed
Make contrasted_opening_brace opt-in
1 parent fe4f559 commit 248ffaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Source/SwiftLintBuiltInRules/Rules/Style/ContrastedOpeningBraceRule.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import SwiftLintCore
22
import SwiftSyntax
33

44
@SwiftSyntaxRule
5-
struct ContrastedOpeningBraceRule: SwiftSyntaxCorrectableRule {
5+
struct ContrastedOpeningBraceRule: OptInRule, SwiftSyntaxCorrectableRule {
66
var configuration = SeverityConfiguration<Self>(.warning)
77

88
static let description = RuleDescription(

0 commit comments

Comments
 (0)