AnalyzerRule
public protocol AnalyzerRule : OptInRule
A rule that can operate on the post-typechecked AST using compiler arguments. Performs rules that are more like static analysis than syntactic checks.
-
validate(file:Extension method) Declaration
Swift
func validate(file _: SwiftLintFile) -> [StyleViolation]
View on GitHub
Install in Dash