mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
Make SyntaxRules Opt-In (#3094)
This commit is contained in:
@@ -3,7 +3,8 @@ import SourceKittenFramework
|
||||
import SwiftSyntax
|
||||
#endif
|
||||
|
||||
public struct TuplePatternRule: ConfigurationProviderRule, SyntaxRule, AutomaticTestableRule {
|
||||
public struct TuplePatternRule: ConfigurationProviderRule, SyntaxRule, OptInRule,
|
||||
AutomaticTestableRule {
|
||||
public var configuration = SeverityConfiguration(.warning)
|
||||
|
||||
public init() {}
|
||||
|
||||
@@ -3,7 +3,8 @@ import SourceKittenFramework
|
||||
import SwiftSyntax
|
||||
#endif
|
||||
|
||||
public struct VoidFunctionInTernaryConditionRule: ConfigurationProviderRule, SyntaxRule, AutomaticTestableRule {
|
||||
public struct VoidFunctionInTernaryConditionRule: ConfigurationProviderRule, SyntaxRule, OptInRule,
|
||||
AutomaticTestableRule {
|
||||
public var configuration = SeverityConfiguration(.warning)
|
||||
|
||||
public init() {}
|
||||
|
||||
Reference in New Issue
Block a user