run abstract method

void run(
  1. CustomLintResolver resolver,
  2. ChangeReporter reporter,
  3. CustomLintContext context,
  4. AnalysisError analysisError,
  5. List<AnalysisError> others,
)

Emits lints for a given file.

run will only be invoked with files respecting filesToAnalyze Emits source changes for a given error.

Optionally others can be specified with a list of similar errors within the same file. This can be used to provide an option for fixing multiple errors at once.

Implementation

void run(
  CustomLintResolver resolver,
  ChangeReporter reporter,
  CustomLintContext context,
  AnalysisError analysisError,
  List<AnalysisError> others,
);