logoalt Hacker News

MattGaisertoday at 7:45 AM1 replyview on HN

Is there a reason you don’t use a hook to make all code pass your linters before you look at it?


Replies

ChrisMarshallNYtoday at 9:26 AM

I’m probably gonna do that (I use SwiftLint[0] -Note: I no longer use CocoaPods anything, these days. I wrote that, years ago.), but I tend to be quite strict, and didn’t want to be constantly interrupting myself, polishing turds. It was really kind of a joke.

I haven’t turned it on, yet, because of the velocity of the work, but I think I’ve found my stride.

[0] https://littlegreenviper.com/swiftlint/