check method
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);
}