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:
parent
8de5613b47
commit
168be9223d
2 changed files with 147 additions and 878 deletions
File diff suppressed because it is too large
Load diff
|
@ -24,6 +24,12 @@
|
||||||
a noun and a verb -->
|
a noun and a verb -->
|
||||||
<issue id="DuplicateStrings" severity="ignore" />
|
<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 -->
|
<!-- Ensure we are warned about errors in the baseline -->
|
||||||
<issue id="LintBaseline" severity="warning" />
|
<issue id="LintBaseline" severity="warning" />
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue