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
Using the redundant_type_annotation and var isActive: Bool = false doesn't trigger a warning.
Complete output when running SwiftLint, including the stack trace and command used
$ ./swiftlint lint Test.swift
Linting Swift files at paths Test.swift
Linting 'Test.swift' (1/1)
Done linting! Found 0 violations, 0 serious in 1 file.
Environment
SwiftLint version (run swiftlint version to be sure)? 0.41.0
Installation method used (Homebrew, CocoaPods, building from source, etc)? Using a pre-built package
Paste your configuration file:
opt_in_rules:
- redundant_type_annotation
Are you using nested configurations? No
If so, paste their relative paths and respective contents.
Which Xcode version are you using (check xcodebuild -version)? Xcode 12.0 Build version 12A7209
Do you have a sample that shows the issue? Run echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
to quickly test if your example is really demonstrating the issue. If your example is more
complex, you can use swiftlint lint --path [file here] --no-cache --enable-all-rules.
classTest{varisActive:Bool= false
}
The text was updated successfully, but these errors were encountered:
This issue has been automatically marked as stale because it has not had any recent activity. Please comment to prevent this issue from being closed. Thank you for your contributions!
jpsim
added
bug
Unexpected and reproducible misbehavior.
and removed
wontfix
Issues that became stale and were auto-closed by a bot.
labels
Feb 24, 2021
New Issue Checklist
Describe the bug
Using the
redundant_type_annotation
andvar isActive: Bool = false
doesn't trigger a warning.Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)? 0.41.0If so, paste their relative paths and respective contents.
xcodebuild -version
)? Xcode 12.0 Build version 12A7209echo "[string here]" | swiftlint lint --no-cache --use-stdin --enable-all-rules
to quickly test if your example is really demonstrating the issue. If your example is more
complex, you can use
swiftlint lint --path [file here] --no-cache --enable-all-rules
.The text was updated successfully, but these errors were encountered: