'How to check classifier declaration in lint rule android
I want to include some additional lint rules in my Android project. when setting up our modules & their corresponding dependencies I need a rule that we always need to add a classifier declaration. This makes things crystal clear when we revisit the modules. So for example instead of
viewModel { ConsultationViewModel(networkSessionScope.get(), get()) }
we would have
viewModel { ConsultationViewModel(addressRepository = networkSessionScope.get(), consultationsRepository = get()) }
Just makes the solution more readable. I need to check only for modules files, not for whole project.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
