Is it necessary to call both of these lines?
swiftlint --autocorrect --format
swiftlint
I've seen this in some example code but for me it looks like the first line does does listing and shows the warnings/errors and afterwards corrects and formats them. So to me the second like looks like it it's redundant.