getsentry / getsentry/sentry-java

Add custom lint checks

Aperta
#2,685 1 commento 0 reazioni 0 assegnatari Vedi su GitHub
Android Improvement repository maintenance
Lingua principale
Kotlin
Stelle
1.4k
Fork
478
Merge medio
2g 23h
PR unite (30g)
67

Descrizione

### Description

From the top of my head we could automatically detect the following potential problem that we point out in the PRs all the time:
* Using `withScope` instead of `configureScope`
* Adding `final` keywords everywhere (parameters, properties, etc.)
* Adding @Nullable/@NonNull annotation everywhere (parameters, properties, etc.)
* Catching `Throwable` instead of `Exception`, see #1806

There's probably more, so keep updating this issue when you got something in mind.

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.