Hey Swift team,

We’ve been trying to build a linter in-house that can cover most of our rules 
(https://github.com/linkedin/swift-style-guide).
Our current approach for retrieving the AST has been very similar to how your 
swift-format tool works, but at the moment swift-format is a bit too barebones 
to pick up. Is there a roadmap available for this tool? Ideally we would also 
be able to define our own rulesets, or at least extend upon the tool’s access 
to the AST. Though it looks like swift-format is intended for indentation 
checks, and perhaps you aren’t looking to build out a complete linter, perhaps 
we can contribute to opening up the tool such that adding rules doesn’t require 
maintaining a Swift toolchain and recompiling the tool itself?

Cheers
_______________________________________________
swift-dev mailing list
swift-dev@swift.org
https://lists.swift.org/mailman/listinfo/swift-dev

Reply via email to