check method

Future<void> check()

Run the checker.

Implementation

Future<void> check() async {
  final String unParsedViolations = await getCodeStyleViolations();

  final List<CodeStyleViolation> parsedViolations = await parser.parse(
    unParsedViolations,
    projectDir.path,
  );

  await reporter.report(parsedViolations);
}