diff --git a/changelog/@unreleased/pr-1967.v2.yml b/changelog/@unreleased/pr-1967.v2.yml new file mode 100644 index 000000000..61b7e082f --- /dev/null +++ b/changelog/@unreleased/pr-1967.v2.yml @@ -0,0 +1,5 @@ +type: improvement +improvement: + description: Automatically fix AssertNoArgs + links: + - https://github.com/palantir/gradle-baseline/pull/1967 diff --git a/gradle-baseline-java/src/main/groovy/com/palantir/baseline/extensions/BaselineErrorProneExtension.java b/gradle-baseline-java/src/main/groovy/com/palantir/baseline/extensions/BaselineErrorProneExtension.java index 9251cf36d..48ccef426 100644 --- a/gradle-baseline-java/src/main/groovy/com/palantir/baseline/extensions/BaselineErrorProneExtension.java +++ b/gradle-baseline-java/src/main/groovy/com/palantir/baseline/extensions/BaselineErrorProneExtension.java @@ -28,6 +28,7 @@ public class BaselineErrorProneExtension { */ private static final ImmutableList DEFAULT_PATCH_CHECKS = ImmutableList.of( // Baseline checks + "AssertNoArgs", "AvoidNewHashMapInt", "CatchBlockLogException", // TODO(ckozak): re-enable pending scala check