mirror of
https://github.com/accelforce/Yuito
synced 2024-12-22 13:24:46 +01:00
30be3ce1f0
Android lint was erroneously warning that the forEach construct in Kotlin required API 24+, which is incorrect, see https://issuetracker.google.com/issues/185418482. Work around that by forcing the Android lint version to 8.1.0. This triggered some additional checks, which have been ignored, and a new baseline.
55 lines
2.1 KiB
XML
55 lines
2.1 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" />
|
|
|
|
<!-- Logs are stripped in release builds. -->
|
|
<issue id="LogConditional" severity="ignore" />
|
|
|
|
<!-- Newer dependencies are handled by Renovate, and don't need a warning -->
|
|
<issue id="GradleDependency" severity="ignore" />
|
|
|
|
<!-- Typographical quotes are not something we care about at the moment -->
|
|
<issue id="TypographyQuotes" severity="ignore" />
|
|
|
|
<!-- Ensure we are warned about errors in the baseline -->
|
|
<issue id="LintBaseline" severity="warning" />
|
|
|
|
<!-- Warn about typos. The typo database in lint is not exhaustive, and it's unclear
|
|
how to add to it when it's wrong. -->
|
|
<issue id="Typos" severity="warning" />
|
|
|
|
<!-- Set OldTargetApi back to warning -->
|
|
<issue id="OldTargetApi" severity="warning" />
|
|
|
|
<!-- Mark all other lint issues as errors -->
|
|
<issue id="all" severity="error" />
|
|
</lint>
|