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
When using for_unwrapping as opt_in_rules in .swiftlint.yml
opt_in_rules:
- force_unwrapping
the following line
print("\(xVar)!")
results in a false positive violation:
Loading configuration from '.swiftlint.yml'
Linting Swift files in current working directory
Linting 'test.swift' (1/1)
…/test.swift:3:15: warning: Force Unwrapping Violation: Force unwrapping should be avoided. (force_unwrapping)
Done linting! Found 1 violation, 0 serious in 1 file.
swiftlint version is 0.11.1
The text was updated successfully, but these errors were encountered:
When using
for_unwrapping
asopt_in_rules
in.swiftlint.yml
the following line
results in a false positive violation:
swiftlint version is 0.11.1
The text was updated successfully, but these errors were encountered: