runPluginAnalysis method
LintFileReport?
runPluginAnalysis(
- ResolvedUnitResult result,
- LintAnalysisConfig config,
- String rootFolder
Returns a lint report for analyzing given result
.
The analysis is configured with the config
.
Implementation
LintFileReport? runPluginAnalysis(
ResolvedUnitResult result,
LintAnalysisConfig config,
String rootFolder,
) {
if (!isExcluded(result.path, config.globalExcludes)) {
return _analyzeFile(
result,
config,
rootFolder,
filePath: result.path,
);
}
return null;
}