You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This commit was created on GitHub.com and signed with GitHub’s verified signature.
The key has expired.
Added
RedundantCoroutineScopeDetector warns when a androidx.lifecycle.LifecycleOwner, androidx.lifecycle.ViewModel, or android.view.View implements or has a field assignable to kotlinx.coroutines.CoroutineScope.
Existing scopes are bound to relevant lifecycle events in the system and will prevent coroutines from running past their utility.
LifecycleOwner should use lifecycleScope
Fragment should use viewLifecycleOwner.lifecycleScope,
ViewModel should use viewModelScope
View should use findViewTreeLifecycleOwner()?.lifecycleScope
FiniteWhenCasesDetector warns when else is used as a when branch when the when subject has finite possibilities
This detector works best when applied to an app project with lint.checkDependencies = true in the app module AGP DSL.
ForEachFunctionDetector reports forEach and forEachIndexed use and encourages a language for loop replacement
SkippedClassLocalOverrideDetector warns when an explicit super method is called outside of the corresponding override.
ErrorCatchDetector reports an error when a catch block might catch a java.lang.Error type.
Changed
Updated build tooling
Treat lint warnings as errors for issues in this library