SwiftLint v0.29.0 Release Notes
-
π₯ Breaking
- π SwiftLint now requires Swift 4.2 or higher to build.
JP Simard
Experimental
- None.
β¨ Enhancements
π Improve the performance of saving or reading cached lint results on platforms with CommonCrypto.
JP Simardβ Add
markdown
reporter which outputs markdown-formatted tables, ideal for rendering in GitLab or GitHub.
Dani Velaβ Add
testSimulateHomebrewTest()
toIntegrationTests
that simulates test inhomebrew-core/Formula/swiftlint.rb
within sandbox.
Norio Nomura
π Bug Fixes
π Fix compiler warnings when building with Swift 4.2 introduced in the last release.
JP Simardπ Fix false positive in
explicit_init
rule.
Dominic Freestonπ Fix
toggle_bool
false positive violation when comparing object parameter to an equally named variable.
Timofey Solonin #2471π Fix false positive on file_name rule with specific patterns.
Cihat GΓΌndΓΌz #2417Fix crash in
no_fallthrough_only
and potentially other rules when linting files with unicode characters in certain locations.
JP Simard #2276π Fix violations with no character/column location not being reported in
xcpretty
. Now violations with no column location default to a column value of1
indicating the start of the line.
JP Simard #2267
- π SwiftLint now requires Swift 4.2 or higher to build.