2017-05-10 13:45:50 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<lint>
|
|
|
|
<!-- Our translations are crowd-sourced -->
|
|
|
|
<issue id="MissingTranslation" severity="ignore"/>
|
|
|
|
|
|
|
|
<!-- to make CI fail on errors until this is fixed
|
|
|
|
https://github.com/rtyley/spongycastle/issues/7 -->
|
|
|
|
<issue id="InvalidPackage" severity="warning"/>
|
2018-06-01 17:17:21 +02:00
|
|
|
|
2017-05-31 11:16:39 +02:00
|
|
|
<issue id="ImpliedQuantity" severity="error"/>
|
2018-06-01 17:17:21 +02:00
|
|
|
<issue id="DefaultLocale" severity="error"/>
|
2018-08-10 11:23:20 +02:00
|
|
|
<issue id="NewApi" severity="error"/>
|
|
|
|
<issue id="InlinedApi" severity="error"/>
|
2017-05-10 13:45:50 +02:00
|
|
|
|
|
|
|
<!-- These are important to us, so promote from warning to error -->
|
2017-05-31 11:16:39 +02:00
|
|
|
<issue id="UnusedResources" severity="error">
|
|
|
|
<ignore path="src/main/res/drawable/category_**.png" />
|
2018-04-19 16:27:41 +02:00
|
|
|
<ignore path="src/main/res/values/dimens.xml"/>
|
|
|
|
<ignore path="src/main/res/values/styles.xml"/>
|
2018-08-08 12:53:29 +02:00
|
|
|
<ignore path="src/full/res/values/styles.xml"/>
|
2018-08-08 11:45:52 +02:00
|
|
|
<!-- keep a single strings.xml for all build flavors -->
|
|
|
|
<ignore path="src/main/res/values**/strings.xml"/>
|
2017-05-31 11:16:39 +02:00
|
|
|
</issue>
|
2017-05-10 13:45:50 +02:00
|
|
|
<issue id="AppCompatMethod" severity="error"/>
|
|
|
|
<issue id="NestedScrolling" severity="error"/>
|
|
|
|
<issue id="StringFormatCount" severity="error"/>
|
|
|
|
<issue id="UnsafeProtectedBroadcastReceiver" severity="error"/>
|
2018-08-10 10:56:13 +02:00
|
|
|
<issue id="GetInstance" severity="error"/>
|
2018-08-10 11:10:21 +02:00
|
|
|
<issue id="PackageManagerGetSignatures" severity="error"/>
|
2018-08-10 11:17:57 +02:00
|
|
|
<issue id="TrustAllX509TrustManager" severity="error">
|
|
|
|
<!-- these come from included libraries -->
|
|
|
|
<ignore path="org/apache/commons/net/ftp/FTPSTrustManager.class"/>
|
|
|
|
<ignore path="org/bouncycastle/est/jcajce/JcaJceUtils$1.class"/>
|
|
|
|
<ignore path="org/bouncycastle/est/jcajce/JcaJceUtils$2.class"/>
|
|
|
|
<ignore path="org/apache/commons/net/util/TrustManagerUtils$TrustManager.class"/>
|
|
|
|
</issue>
|
2017-05-10 13:48:56 +02:00
|
|
|
|
2017-05-13 00:08:07 +02:00
|
|
|
<issue id="PluralsCandidate" severity="error"/>
|
2017-05-10 13:52:53 +02:00
|
|
|
<issue id="HardcodedText" severity="error"/>
|
|
|
|
|
|
|
|
<!-- both the correct and deprecated locales need to be present for
|
|
|
|
them to be recognized on all devices -->
|
|
|
|
<issue id="LocaleFolder" severity="error">
|
|
|
|
<ignore path="src/main/res/values-he"/>
|
|
|
|
<ignore path="src/main/res/values-id"/>
|
|
|
|
</issue>
|
|
|
|
|
|
|
|
<issue id="SetWorldReadable" severity="error">
|
|
|
|
<ignore path="src/main/java/org/fdroid/fdroid/installer/ApkFileProvider.java"/>
|
|
|
|
</issue>
|
|
|
|
|
2018-04-19 12:24:28 +02:00
|
|
|
<issue id="ProtectedPermissions" severity="error">
|
2018-05-30 14:44:09 +02:00
|
|
|
<ignore path="src/full/AndroidManifest.xml"/>
|
2018-04-19 12:24:28 +02:00
|
|
|
</issue>
|
|
|
|
|
2017-05-10 13:48:56 +02:00
|
|
|
<!-- these should be fixed, but it'll be a chunk of work -->
|
|
|
|
<issue id="SetTextI18n" severity="error">
|
|
|
|
<ignore path="src/main/java/org/fdroid/fdroid/views/AppDetailsRecyclerViewAdapter.java"/>
|
|
|
|
<ignore path="src/main/java/org/fdroid/fdroid/views/apps/AppListItemController.java"/>
|
|
|
|
</issue>
|
2017-05-10 13:45:50 +02:00
|
|
|
</lint>
|