mirror of
https://github.com/apple/pkl.git
synced 2026-05-28 17:49:15 +02:00
Enable error-prone check for GuardedBy, fix errors (#1621)
This commit is contained in:
@@ -38,6 +38,7 @@ nullaway { onlyNullMarked = true }
|
||||
tasks.withType<JavaCompile>().configureEach {
|
||||
options.errorprone.disableAllChecks = true
|
||||
options.errorprone.check("StringCaseLocaleUsage", CheckSeverity.ERROR)
|
||||
options.errorprone.check("GuardedBy", CheckSeverity.ERROR)
|
||||
options.errorprone.nullaway {
|
||||
error()
|
||||
onlyNullMarked = true
|
||||
|
||||
Reference in New Issue
Block a user