run method
Emits lints for a given file.
run will only be invoked with files respecting filesToAnalyze
Implementation
@override
void run(
CustomLintResolver resolver,
dynamic reporter,
CustomLintContext context,
) {
context.registry.addCompilationUnit((node) {
_visitCompilationUnit(node, reporter, resolver);
});
}