getsentry / getsentry/sentry-java
Add custom lint checks
Open
Android
Improvement
repository maintenance
- Dominant language
- Kotlin
- Stars
- 1.4k
- Forks
- 478
- Avg merge
- 2d 23h
- Merged PRs (30d)
- 67
Description
### 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.
Contributor guide
Assessment
This issue has not been assessed yet.