getsentry / getsentry/sentry-java
Add custom lint checks
Offen
Android
Improvement
repository maintenance
- Vorherrschende Sprache
- Kotlin
- Sterne
- 1.4k
- Forks
- 478
- Ø Merge
- 2 T. 23 Std.
- Gemergte PRs (30 T.)
- 67
Beschreibung
### 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.
Beitragsleitfaden
Bewertung
Dieses Issue wurde noch nicht bewertet.