Disable lint checks for unused resource IDs (#3557)

* Disable lint checks for unused resource IDs

The check doesn't catch some instances where resources are used through viewbinding, and has too many false positives to be useful.

* Regenerate lint baseline

Delete the existing file, then regenerated with `.\gradlew lintBlueDebug -Dlint.baselines.continue=true`
This commit is contained in:
Nik Clayton 2023-04-24 09:20:03 +02:00 committed by GitHub
parent 8de5613b47
commit 168be9223d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 147 additions and 878 deletions

File diff suppressed because it is too large Load Diff

View File

@ -24,6 +24,12 @@
a noun and a verb -->
<issue id="DuplicateStrings" severity="ignore" />
<!-- Resource IDs used in viewbinding are incorrectly reported as unused,
https://issuetracker.google.com/issues/204797401.
Disable these for the time being. -->
<issue id="UnusedIds" severity="ignore" />
<!-- Ensure we are warned about errors in the baseline -->
<issue id="LintBaseline" severity="warning" />