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
I expected unnecessary headers to be removed, leaving only headers that are needed to be kept. In the class in question, there are declarations which use Foundation, so I would expect those to stay.
Complete output when running SwiftLint, including the stack trace and command used
Not finished yet. Looking at changes in Tower as it's going.
Environment
SwiftLint version (run swiftlint version to be sure)? Build from repo on local machine with latest PR
Installation method used (Homebrew, CocoaPods, building from source, etc)? Built from source.
I’m sorry you’re seeing this, I haven’t experienced this on the project where I’ve enabled this configuration. Can you please share a sample project that reproduces the issue so I can look into it?
@jpsim Unfortunately, I'm not able to do so. I downloaded the repo locally and I will fiddle around with it as time allows. If I'm able to find the issue, I'll put up a PR.
What's the best way to debug something like this on actual code? Just do print statements or is there a way to link this up to lldb as you would w/ a iOS project?
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!
stalebot
added
the
wontfix
Issues that became stale and were auto-closed by a bot.
label
Nov 8, 2020
New Issue Checklist
Describe the bug
Typed the following in iTerm:
swiftlint analyze --compiler-log-path ./xcodebuild.log --autocorrect --reporter json > swiftlint.json
I expected unnecessary headers to be removed, leaving only headers that are needed to be kept. In the class in question, there are declarations which use
Foundation
, so I would expect those to stay.Complete output when running SwiftLint, including the stack trace and command used
Not finished yet. Looking at changes in Tower as it's going.
Environment
swiftlint version
to be sure)? Build from repo on local machine with latest PRxcodebuild -version
)? Xcode 11.3.1The text was updated successfully, but these errors were encountered: