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
This command touches all files it sees, even when this doesn't result in any changes to the files. Without --format swiftlint doesn't touch files it doesn't change.
This is bad when the command is run as part of Xcode build. Xcode thinks the file has changed externally (which it hasn't), and I get into conflicts (Xcode asks whether to reload file or keep Xcode version, which is annoying).
Also, I haven't found documentation for --format.
So, am I doing it wrong or could --format be fixed so it doesn't touch files that don't need any modifications? Thanks!
The text was updated successfully, but these errors were encountered:
New Issue Checklist
swiftlint autocorrect --format --path <mydir>
This command touches all files it sees, even when this doesn't result in any changes to the files. Without
--format
swiftlint doesn't touch files it doesn't change.This is bad when the command is run as part of Xcode build. Xcode thinks the file has changed externally (which it hasn't), and I get into conflicts (Xcode asks whether to reload file or keep Xcode version, which is annoying).
Also, I haven't found documentation for
--format
.So, am I doing it wrong or could
--format
be fixed so it doesn't touch files that don't need any modifications? Thanks!The text was updated successfully, but these errors were encountered: