We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
This is almost identical to #2099.
$ swiftlint autocorrect --path Foo.swift Correcting Swift files at path Foo.swift Correcting 'Foo.swift' (1/1) Foo.swift:3:15 Corrected Redundant Void Return Foo.swift:3:15 Corrected Redundant Void Return Done correcting 1 files!
swiftlint version
whitelist_rules: - redundant_void_return
xcode-select -p
protocol Foo { #if true func foo() -> Void #endif }
autocorrect
The duplicate correction ends up truncating remaining parts of the file.
protocol Foo { #if true func foo()dif }
The text was updated successfully, but these errors were encountered:
redundant_void_return
No branches or pull requests
New Issue Checklist
This is almost identical to #2099.
Bug Report
Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)? 0.25.0xcode-select -p
)? 9.2Steps to Reproduce
Source File
Run
autocorrect
Corrected File
The duplicate correction ends up truncating remaining parts of the file.
The text was updated successfully, but these errors were encountered: