LintAnalyzer class

The analyzer responsible for collecting lint reports.

Constructors

LintAnalyzer([Logger? _logger])
const

Properties

hashCode int
The hash code for this object.
no setterinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getReporter({required String name, required IOSink output, required String reportFolder}) Reporter<FileReport, LintReportParams>?
Returns a reporter for the given name. Use the reporter to convert analysis reports to console, JSON or other supported format.
getSummary(Iterable<LintFileReport> records) Iterable<SummaryLintReportRecord<Object>>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
runCliAnalysis(Iterable<String> folders, String rootFolder, LintConfig config, {String? sdkPath}) Future<Iterable<LintFileReport>>
Returns a list of lint reports for analyzing all files in the given folders. The analysis is configured with the config.
runPluginAnalysis(ResolvedUnitResult result, LintAnalysisConfig config, String rootFolder) LintFileReport?
Returns a lint report for analyzing given result. The analysis is configured with the config.
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited