gradle-baseline
gradle-baseline copied to clipboard
A set of Gradle plugins that configure default code quality tools for developers.
## Before this PR Recently I've been tasked with deleting codepaths that have been superseded by newer codepaths. Historically, it's been hard to do this because there is no static...
==COMMIT_MSG== Safety propagation takes into account known subtypes ==COMMIT_MSG== ## Possible downsides? Rollout is tricky
See #2668 ==COMMIT_MSG== Methods must take into account supertypes ==COMMIT_MSG==
## What happened? While working on another PR, I saw something that was roughly this situation: ``` interface MyInterface { @Safe String myMethod(); } class MyClass implements MyInterface { @Unsafe...
## What happened? I was recommened `com.palantir.java-format` from https://github.com/palantir/palantir-java-format#palantir-java-format. I installed the plugin ```groovy apply plugin: 'com.palantir.baseline-format' apply plugin: 'com.palantir.java-format' ``` I ran the `format` task Output Couldn't list copyright...
## Before this PR The `StrictUnusedVariable` check currently produces errors when a variable is unused unless it is prefixed with an underscore. There are cases (albeit rare) where users legitimately...
## Before this PR We allow people to use org.apache.hadoop.util.Preconditions. ## After this PR ==COMMIT_MSG== Prefer safe-logging Preconditions to org.apache.hadoop.util.Preconditions. ==COMMIT_MSG== ## Possible downsides?
## Before this PR ## After this PR ==COMMIT_MSG== Warn on usage of Maps.transformValues ==COMMIT_MSG== ## Possible downsides?
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/junit5 check. To enable or disable this check, please contact the maintainers of Excavator.
###### _excavator_ is a bot for automating changes across repositories. Changes produced by the roomba/latest-gradle-wrapper-oss check. To enable or disable this check, please contact the maintainers of Excavator.