analyze method
Analyze the given CompilationUnit and return a list of LintIssues.
Implement this method to provide the core logic for your custom lint rule.
Implementation
@override
List<LintIssue> analyze(CompilationUnit unit) {
final visitor = _DocumentationVisitor(this);
unit.accept(visitor);
return visitor.issues;
}