android-custom-lint-rules icon indicating copy to clipboard operation
android-custom-lint-rules copied to clipboard

This sample demonstrates how to create a custom lint checks and corresponding lint tests

Results 24 android-custom-lint-rules issues
Sort by recently updated
recently updated
newest added

Hello. I tried to create my custom line rule. And I have a question while writing it. In [Creating the issue](https://googlesamples.github.io/android-custom-lint-rules/api-guide.html#writingalintcheck:basics/creatinganissue) section, sample code shows that `JvmField` annotation is using...

I try to work for 2 week to make custom lint rules adapt AGP from 4.x to 7.x,but nothing got please help me solve this problem thanks

**Code: Modified avoid AvoidDateDetector.kt** ```kotlin override fun getApplicableConstructorTypes(): List = listOf("com.google.gson.Gson") override fun visitConstructor( context: JavaContext, node: UCallExpression, constructor: PsiMethod, ) { context.report( ISSUE, node, context.getLocation(node), "Don't use `Gson`;", )...

![image](https://github.com/user-attachments/assets/2e282094-193e-477e-b9d5-ee76aa288765) Hi, Currently, I’ve `allWarningsAsErrors` set to true in my project, but for some reason the Convert to 'data object' warning is not failing the build (unlike other warnings). I...