Groups
Conversations
All groups and messages
Send feedback to Google
Help
Training
Sign in
Groups
lint-dev
Conversations
About
lint-dev
Contact owners and managers
1–30 of 345
Mark all as read
Report group
0 selected
Michael Bailey
Feb 23
Feature Request: New Annotation proposal: @androidx.annotation.ClassName for Strings representing class names
FYI on this proposal: https://issuetracker.google.com/issues/326526720
unread,
Feature Request: New Annotation proposal: @androidx.annotation.ClassName for Strings representing class names
FYI on this proposal: https://issuetracker.google.com/issues/326526720
Feb 23
John Rodriguez
, …
Zac Sweers
5
5/21/23
False import resolution error in TestLintTask?
This remains broken in lint 8.2.0 alphas too :/. Filed this https://issuetracker.google.com/issues/
unread,
False import resolution error in TestLintTask?
This remains broken in lint 8.2.0 alphas too :/. Filed this https://issuetracker.google.com/issues/
5/21/23
Trading Ahmadh
10/4/22
Issue id: MissingConstraints
How to fix (Issue id: MissingConstraints)
unread,
Issue id: MissingConstraints
How to fix (Issue id: MissingConstraints)
10/4/22
colto...@protonmail.com
7/11/22
Added lint to a new project. It compiles, but I get red lines in my rule.
Here is my lint module build.gradle.kts I use this in 2 projects already. No issues. I added it to a
unread,
Added lint to a new project. It compiles, but I get red lines in my rule.
Here is my lint module build.gradle.kts I use this in 2 projects already. No issues. I added it to a
7/11/22
Mika
6/21/22
TargetAPI lint check produces wrong results
Hi, There are some weird cases with the TargetAPI lint checks. See this example class MainActivity :
unread,
TargetAPI lint check produces wrong results
Hi, There are some weird cases with the TargetAPI lint checks. See this example class MainActivity :
6/21/22
胡银波
4/8/22
Can Lint support increment check in the future?
Hi, I wonder if there is a possibility for lint task to support increment checks. As our project
unread,
Can Lint support increment check in the future?
Hi, I wonder if there is a possibility for lint task to support increment checks. As our project
4/8/22
Kiki Chang
4/7/22
lint baseline fails on subsequent run
Recently upgraded project to Gradle 7.2 / AGP 7.1.2 from 4.x. When creating new baselines for each
unread,
lint baseline fails on subsequent run
Recently upgraded project to Gradle 7.2 / AGP 7.1.2 from 4.x. When creating new baselines for each
4/7/22
Мурат Байсангуров
4/7/22
Custom lint rule is not executed from IDE
Hi! I have a library module with custom lint rules with the following build.gradle In the app module
unread,
Custom lint rule is not executed from IDE
Hi! I have a library module with custom lint rules with the following build.gradle In the app module
4/7/22
Saman Sattari
,
Róbert Papp
2
2/8/22
LintFix change multiple parts with pattern
Hi, if I understand your use case correctly: from a quick glance at the LintFix class, looks like you
unread,
LintFix change multiple parts with pattern
Hi, if I understand your use case correctly: from a quick glance at the LintFix class, looks like you
2/8/22
colto...@protonmail.com
,
Tor Norbye
6
1/28/22
How to suppress lint check for a single file, or can I suppress "wrong" import lint checks?
That worked!!!!! Thank you! Filed a bug here so that quickfix would actually recommend this. 😄 https:
unread,
How to suppress lint check for a single file, or can I suppress "wrong" import lint checks?
That worked!!!!! Thank you! Filed a bug here so that quickfix would actually recommend this. 😄 https:
1/28/22
Saman Sattari
,
Tor Norbye
2
1/27/22
Android default lint-rules location
Take a look at the lint issue documentation: https://googlesamples.github.io/android-custom-lint-
unread,
Android default lint-rules location
Take a look at the lint issue documentation: https://googlesamples.github.io/android-custom-lint-
1/27/22
Ruslan Magzyumov
,
Tor Norbye
2
1/27/22
.use extension checking
The best way to do this would be to use the data flow analyzer, since you want to not just hardcode
unread,
.use extension checking
The best way to do this would be to use the data flow analyzer, since you want to not just hardcode
1/27/22
Ruslan Magzyumov
,
Tor Norbye
2
11/24/21
How I can detect new object creation
You'll want to visit all constructor calls (override getApplicableConstructorTypes() and
unread,
How I can detect new object creation
You'll want to visit all constructor calls (override getApplicableConstructorTypes() and
11/24/21
César Puerta
,
Tor Norbye
2
11/24/21
Setting LINT_API_DATABASE
On Tuesday, November 23, 2021 at 9:48:16 AM UTC-8 cesa...@gmail.com wrote: I'd like to configure
unread,
Setting LINT_API_DATABASE
On Tuesday, November 23, 2021 at 9:48:16 AM UTC-8 cesa...@gmail.com wrote: I'd like to configure
11/24/21
dehao wang
,
Tor Norbye
2
11/24/21
How to get PsiArrayType to PsiType
Try PsiType.getDeepComponentType() (or if you just want the type of the array, PsiArrayType.
unread,
How to get PsiArrayType to PsiType
Try PsiType.getDeepComponentType() (or if you just want the type of the array, PsiArrayType.
11/24/21
Dayakar
,
Tor Norbye
2
11/24/21
findSuperMethods() is not working as expected with TestMode.FULLY_QUALIFED
The test failure should show you the modified test source (where it has taken your original source
unread,
findSuperMethods() is not working as expected with TestMode.FULLY_QUALIFED
The test failure should show you the modified test source (where it has taken your original source
11/24/21
Prince Mathew
,
Tor Norbye
2
11/24/21
Detecting change in view id's
Not currently; this would need to be integrated with the version control system in some way, or by
unread,
Detecting change in view id's
Not currently; this would need to be integrated with the version control system in some way, or by
11/24/21
Mz Zz
2
10/26/21
How do I get a method return type?
Ok never mind. I noticed that the code I copy pasted to my unit test had a suspend keyword. So after
unread,
How do I get a method return type?
Ok never mind. I noticed that the code I copy pasted to my unit test had a suspend keyword. So after
10/26/21
Tor Norbye
, …
tho walid
3
10/26/21
PSA: You can now build with stable and lint with canaries
holla في Wednesday, September 8, 2021 في تمام الساعة 11:05:21 PM UTC+1، كتب drewh...@gmail.com رسالة
unread,
PSA: You can now build with stable and lint with canaries
holla في Wednesday, September 8, 2021 في تمام الساعة 11:05:21 PM UTC+1، كتب drewh...@gmail.com رسالة
10/26/21
kiran puppala
,
Tor Norbye
2
9/23/21
AAR Dependency for Lint Tests
This is a pretty tricky corner case since it has a lot of build system detail in it. When you say
unread,
AAR Dependency for Lint Tests
This is a pretty tricky corner case since it has a lot of build system detail in it. When you say
9/23/21
Subodh Nijsure
9/23/21
Detecting duplicate id across layouts
Hello, Has anyone worked on implementing Detector that will flag duplicate layout id across different
unread,
Detecting duplicate id across layouts
Hello, Has anyone worked on implementing Detector that will flag duplicate layout id across different
9/23/21
kiran puppala
,
Tor Norbye
3
9/7/21
Running lint from command line lint not analysing java/kotlin files
Got it. Thanks for the reply, Tor. On Thursday, 15 July 2021 at 05:29:21 UTC+5:30 Tor Norbye wrote:
unread,
Running lint from command line lint not analysing java/kotlin files
Got it. Thanks for the reply, Tor. On Thursday, 15 July 2021 at 05:29:21 UTC+5:30 Tor Norbye wrote:
9/7/21
kiran puppala
9/7/21
Configure detectors to only run when the Lint client is Gradle but not Android Studio.
Hi Tor, We want few detectors to run only when Gradle lint task is executed but should not run from
unread,
Configure detectors to only run when the Lint client is Gradle but not Android Studio.
Hi Tor, We want few detectors to run only when Gradle lint task is executed but should not run from
9/7/21
Zac Sweers
,
Tor Norbye
3
9/2/21
Suppressing lint issues in pure Java/Kotlin projects
Interesting, in testing it looks like the issue I'm stuck on is a custom lint we have to ensure `
unread,
Suppressing lint issues in pure Java/Kotlin projects
Interesting, in testing it looks like the issue I'm stuck on is a custom lint we have to ensure `
9/2/21
Jeremy Woods
,
Tor Norbye
2
8/31/21
UParenthesizedExpression checks
I'm not sure I understood the question -- but if you have variable.someMethod() that's a
unread,
UParenthesizedExpression checks
I'm not sure I understood the question -- but if you have variable.someMethod() that's a
8/31/21
Tor Norbye
,
Drew Hannay
6
8/19/21
PSA: Lint check for lint checks
It seems like this was broken at some point: https://issuetracker.google.com/issues/197146610 On
unread,
PSA: Lint check for lint checks
It seems like this was broken at some point: https://issuetracker.google.com/issues/197146610 On
8/19/21
Tor Norbye
8/12/21
PSA: Test modes
Hi everyone, it looks like 7.1.0-alpha08 is out now, and one of the things that includes in lint is
unread,
PSA: Test modes
Hi everyone, it looks like 7.1.0-alpha08 is out now, and one of the things that includes in lint is
8/12/21
John Rodriguez
,
Tor Norbye
5
8/8/21
Exception() resolved as <init>()?
On Sun, Aug 8, 2021 at 2:36 PM 'John Rodriguez' via lint-dev <lint...@googlegroups.com
unread,
Exception() resolved as <init>()?
On Sun, Aug 8, 2021 at 2:36 PM 'John Rodriguez' via lint-dev <lint...@googlegroups.com
8/8/21
colto...@protonmail.com
,
Tor Norbye
7
8/2/21
What gradle task to build our custom checks lint jar?
Filed. Thanks! https://issuetracker.google.com/issues/195336464 On Monday, August 2, 2021 at 5:29:03
unread,
What gradle task to build our custom checks lint jar?
Filed. Thanks! https://issuetracker.google.com/issues/195336464 On Monday, August 2, 2021 at 5:29:03
8/2/21
Bryan Herbst
, …
Tor Norbye
4
8/2/21
PrivateResources check for Android modules
We've fully switched over to the new lint model as of 4.2 and refined it further in 7.0 but we
unread,
PrivateResources check for Android modules
We've fully switched over to the new lint model as of 4.2 and refined it further in 7.0 but we
8/2/21