unused_import
false positives
#3116
Labels
wontfix
Issues that became stale and were auto-closed by a bot.
unused_import
false positives
#3116
New Issue Checklist
Describe the bug
I ran
swiftlint analyze
on a large project with autocorrect enabled forunused_imports
. While swiftlint found a large amount of unused imports, the project didn't compile when I built after runningswiftlint analyze
. I stashed swiftlint's changes before making alterations to it. From there, I applied the stash and kept addressing compiler errors until I got the project to build. When I finished, I discovered despite the reduction in imports, the project took slightly longer to build when building after nuking derived data. When building WITH derived data, the build time was dramatically faster before removing imports than after.Should I expect compile times to go down as a result of removing unused imports?
Complete output when running SwiftLint, including the stack trace and command used
Environment
swiftlint version
to be sure)?0.39.1
Homebrew
xcodebuild -version
)?Xcode 11.3.1
Build version 11C504
The text was updated successfully, but these errors were encountered: