mirror of
https://github.com/google/nomulus
synced 2026-05-13 19:31:46 +00:00
Add Errorprone plugin for removing FQCNs (#3021)
These annoy me and AI loves to add them. Let's automatically remove them.
This commit is contained in:
@@ -133,6 +133,9 @@ tasks.withType(JavaCompile).configureEach {
|
||||
// Allow assignment to injected variables: too many to fix.
|
||||
options.errorprone.disable("UnnecessaryAssignment")
|
||||
|
||||
// Report unnecessarily fully qualified names as warnings.
|
||||
options.errorprone.warn("UnnecessarilyFullyQualified")
|
||||
|
||||
options.errorprone.disableWarningsInGeneratedCode = true
|
||||
options.errorprone.errorproneArgumentProviders.add([
|
||||
asArguments: {
|
||||
|
||||
Reference in New Issue
Block a user