Refactor Proofreading to Use SwiftSyntax & SDGSwiftSource
SDGGiesbrecht opened this issue · 2 comments
SDGGiesbrecht commented
Proofreading will be much faster and smarter if it uses the syntax structure instead of search patterns.
Rules will largely rely on the SyntaxScanner
in the SDGSwiftSource library of SDGSwift and make good use of the textFreedom
property.
SDGGiesbrecht commented
General refactoring released in 0.15.0.
Not all rules have switched yet.
SDGGiesbrecht commented
#240 will be merged shortly, which switches over the last rule.
It will be included in the 0.16.1 release.