google / google/error-prone

[Feature] namespace BugPatterns and allow wildcard/patterns

Open
#1,942 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
7.2k
Forks
820
Avg merge
5h 9m
Merged PRs (30d)
50

Description

### Description of the problem / feature request:

partial proposed solution this would help

```
-xep:Equals:*:ERROR
```
where `Equals:*` is basically

```
Equals:ArrayEquals
Equals:EqualsHashCode
Equals:EqualsNaN
Equals:EqualsReference
Equals:EqualsWrongThing
Equals:SelfEquals
Equals:BigDecimalEquals
Equals:EqualsUsingHashCode
Equals:...
```
and so on

### Feature requests: what underlying problem are you trying to solve with this feature?

I'd like to be able to quickly and concisely set up my changes to error prone's defaults, as I switch a LOT of things to error

### What version of Error Prone are you using?

com.google.errorprone:error_prone_core:2.4.0

### Have you found anything relevant by searching the web?

no, I know this does not exist.

other categories I can think of `Inject` `Test` `Dagger`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.