What does HackerNews think of SwiftLint?

A tool to enforce Swift style and conventions.

Language: Swift

#159 in Hacktoberfest
#12 in Swift
1) Here are some tips & tricks for refactoring: https://developer.apple.com/documentation/xcode/finding-and-...

The “rename in project” and “rename in scope” functions are quite neat.

2) Check out SwiftLint: https://github.com/realm/SwiftLint

I have not used it in a while, but it comes with good defaults and is highly customizable to your own preferred Swift style.

Swiftlint[1] is nice and can be integrated into Xcode’s warning panel. For auto-formatting, you can press CTRL-i on any selection to auto-format.

[1] https://github.com/realm/SwiftLint

I love linters.

This is one of the first things that I add to a new project, before I write one line of code: https://github.com/realm/SwiftLint

I write about it here: https://littlegreenviper.com/miscellany/swiftwater/swiftlint...

That would have been cool too :)

I don't really know of a direct gofmt Swift equivalent but you should check out - https://github.com/realm/SwiftLint https://github.com/haaakon/SwiftFormat