mirror of
https://github.com/realm/SwiftLint.git
synced 2026-06-06 20:18:40 +00:00
Fix reference to
This commit is contained in:
@@ -32,7 +32,7 @@ public struct ToggleBoolRule: SubstitutionCorrectableRule, ConfigurationProvider
|
||||
|
||||
public func validate(file: File) -> [StyleViolation] {
|
||||
return violationRanges(in: file).map {
|
||||
StyleViolation(ruleDescription: Self.description,
|
||||
StyleViolation(ruleDescription: ToggleBoolRule.description,
|
||||
severity: configuration.severity,
|
||||
location: Location(file: file, characterOffset: $0.location)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user