<?xml version="1.0" encoding="UTF-8"?>
<!--
  ~ Nextcloud - Android Client
  ~ 
  ~ SPDX-FileCopyrightText: 2022-2024 Nextcloud GmbH and Nextcloud contributors
  ~ SPDX-FileCopyrightText: 2022 Andy Scherzinger <info@andy-scherzinger.de>
  ~ SPDX-FileCopyrightText: 2022 Álvaro Brey <alvaro@alvarobrey.com>
  ~ SPDX-FileCopyrightText: 2022 Tobias Kaminsky <tobias@kaminsky.me>
  ~ SPDX-License-Identifier: AGPL-3.0-or-later OR GPL-2.0-only
-->
<lint>
    <issue id="UnusedAttribute">
        <ignore regexp="importantForAutofill"/>
        <ignore regexp="autofillHints"/>
    </issue>
    <issue id="InvalidPackage">
        <ignore path="**/freemarker-2.*.*.jar" />
        <ignore path="**/nnio-0.2.jar"/>
        <ignore path="**/bcpkix-jdk15on-1.69.jar" />
    </issue>

    <issue id="UnusedResources">
        <ignore regexp="store_short_desc|store_full_desc|store_short_dev_desc|store_full_dev_desc" />
        <ignore
            regexp="screenshot_01_gridView|screenshot_02_listView|screenshot_03_drawer|screenshot_04_accounts|screenshot_05_autoUpload|screenshot_06_davdroid"/>
        <ignore path="**/raw/encryption_key_words.txt" />
    </issue>

    <issue id="ImpliedQuantity">
        <ignore path="**/values-**/strings.xml" />
    </issue>

    <issue id="MissingQuantity">
        <ignore path="**/values-**/strings.xml" />
    </issue>

    <issue id="UnusedQuantity">
        <ignore path="**/values-**/strings.xml" />
    </issue>
    
    <issue id="StringFormatCount">
        <ignore path="**/values-**/strings.xml" />
    </issue>

    <issue id="ExtraTranslation">
        <ignore path="**/strings.xml"/>
        <ignore path="**/values-b+en+001/strings.xml"/>
    </issue>

    <issue id="UnusedResources">
        <ignore path="**/values-**/strings.xml" />
        <ignore path="**/values/setup.xml" />
    </issue>

    <issue id="TypographyEllipsis">
        <ignore path="**/values-**/strings.xml" />
    </issue>

    <issue id="Typos">
        <ignore path="**/values-**/strings.xml" />
        <ignore path="**/values/setup.xml" />
    </issue>

    <issue id="TrustAllX509TrustManager">
        <ignore path="**/bouncycastle/est/jcajce/*.class" />
        <ignore path="**/bcpkix-jdk15to18-1.**.jar" />
        <ignore path="**/bcpkix-jdk18on-1.**.jar" />
    </issue>

    <issue id="RestrictedApi" severity="error">
        <ignore path="build" />
    </issue>

    <issue id="NewApi" severity="error">
        <ignore path="build" />
    </issue>

    <issue id="ObsoleteLintCustomCheck" severity="warning">
        <ignore path="**/fragment-1.2.5/**/lint.jar" />
        <ignore path="**/work-runtime-2.**/**/lint.jar" />
        <ignore path="**/jetified-butterknife-runtime-10.**/**/lint.jar" />
        <ignore path="**/jetified-dagger-lint-aar-2.**.**/**/lint.jar" />
        <ignore path="**/jetified-annotation-experimental-1.**/**/lint.jar" />
        <ignore path="**/jetified-firebase-installations**/**/lint.jar" />
        <ignore path="**/appcompat-1.**/**/lint.jar" />
    </issue>
</lint>