SwiftLint

foundation

(Rauhul Varma) #1

Has there been any discussion regarding adding SwiftLint to swift-corelibs-foundation? It seems like a good way to help achieve consistent style.


(Tony Parker) #2

I don't think any of the other projects (e.g. stdlib) are using a linter. Is that correct?

Since we're part of the base build of the Swift project, I do want to be careful about adding dependencies on tools that are not already present. Each one adds a bit of overhead for people who are trying to contribute to any part of the project (especially on Linux).