Open schlosna opened 5 years ago
@uschi2000 for SA
Can you start a thread on our internal mailing list before we move forward with this, @schlosna ?
This issue has been automatically marked as stale because it has not been touched in the last 60 days. Please comment if you'd like to keep it open, otherwise it'll be closed in 7 days time.
@j-baker enabling something like this on atlasdb would have flagged https://github.com/palantir/atlasdb/pull/5039
What happened?
Configuring additional error-prone checks to
ERROR
(orWARNING
) requires some repetitive code in each project that wants to promote additional checks.See https://github.com/palantir/tritium/pull/254 and specifically https://github.com/palantir/tritium/pull/254/files#diff-c197962302397baf3a4cc36463dce5eaR75
What did you want to happen?
Allow streamlined method for promoting set of error-prone checks to
ERROR
, e.g. promoting all optional warnings and some experimental checks.https://github.com/google/error-prone/blob/3d225c1eec6d8dada11730c9e9199b710ea26495/core/src/main/java/com/google/errorprone/scanner/BuiltInCheckerSuppliers.java#L593