* 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`
38 lines
1.5 KiB
XML
38 lines
1.5 KiB
XML
<?xml version="1.0" encoding="UTF-8"?>
|
|
<!--
|
|
~ Copyright 2023 Tusky Contributors
|
|
~
|
|
~ This file is a part of Tusky.
|
|
~
|
|
~ This program is free software; you can redistribute it and/or modify it under the terms of the
|
|
~ GNU General Public License as published by the Free Software Foundation; either version 3 of the
|
|
~ License, or (at your option) any later version.
|
|
~
|
|
~ Tusky is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even
|
|
~ the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General
|
|
~ Public License for more details.
|
|
~
|
|
~ You should have received a copy of the GNU General Public License along with Tusky; if not,
|
|
~ see <http://www.gnu.org/licenses>.
|
|
-->
|
|
|
|
<lint>
|
|
<!-- Missing translations are OK -->
|
|
<issue id="MissingTranslation" severity="ignore" />
|
|
|
|
<!-- Duplicate strings are OK. This can happen when e.g., "favourite" appears as both
|
|
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" />
|
|
|
|
<!-- Mark all other lint issues as errors -->
|
|
<issue id="all" severity="error" />
|
|
</lint>
|