1 when a check found an error, or a warning with strict; else 0.
int get exitCode => count(CheckStatus.error) > 0 || strict && count(CheckStatus.warning) > 0 ? 1 : 0;