You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
the reduce_boolean rule is triggered, and it's suggested I use contains.
Complete output when running SwiftLint, including the stack trace and command used
$ swiftlint lint
[Xcode 14.3's `foo is implemented in bar and baz` lines omitted]Linting Swift files at paths File.swiftLinting 'File.swift' (1/1)/Users/eric/File.swift:7:11: warning: Reduce Boolean Violation: Use `contains` instead (reduce_boolean)Done linting! Found 1 violation, 0 serious in 1 file.
Environment
SwiftLint version 0.50.3
Installation method used brew
No configuration file
Which Xcode version are you using: Xcode 14.3 Build version 14E222b
Do you have a sample that shows the issue? see above
The text was updated successfully, but these errors were encountered:
New Issue Checklist
Describe the bug
Given
the
reduce_boolean
rule is triggered, and it's suggested I usecontains
.Complete output when running SwiftLint, including the stack trace and command used
Environment
0.50.3
brew
Xcode 14.3 Build version 14E222b
see above
The text was updated successfully, but these errors were encountered: