Hans-Christoph Steiner | 86e8398 | 2019-01-09 12:58:03 +0100 | [diff] [blame] | 1 | <?xml version="1.0" encoding="UTF-8"?> |
| 2 | <lint> |
| 3 | <!-- this is never going to be a real "app" --> |
| 4 | <issue id="GoogleAppIndexingWarning" severity="disable"/> |
| 5 | |
| 6 | <!-- The version name/code needs to be set in both the AndroidManifest.xml |
| 7 | and build.gradle to handle the various build systems, see README.md --> |
| 8 | <issue id="GradleOverrides" severity="warning"/> |
| 9 | |
| 10 | <!-- promote to errors --> |
| 11 | <issue id="AppCompatMethod" severity="error"/> |
| 12 | <issue id="DefaultLocale" severity="error"/> |
| 13 | <issue id="GetInstance" severity="error"/> |
| 14 | <issue id="HardcodedText" severity="error"/> |
| 15 | <issue id="HardwareIds" severity="error"/> |
| 16 | <issue id="ImpliedQuantity" severity="error"/> |
| 17 | <issue id="InlinedApi" severity="error"/> |
| 18 | <issue id="NestedScrolling" severity="error"/> |
| 19 | <issue id="NewApi" severity="error"/> |
| 20 | <issue id="PackageManagerGetSignatures" severity="error"/> |
| 21 | <issue id="PluralsCandidate" severity="error"/> |
| 22 | <issue id="ProtectedPermissions" severity="error"/> |
| 23 | <issue id="SetTextI18n" severity="error"/> |
| 24 | <issue id="SimpleDateFormat" severity="error"/> |
| 25 | <issue id="StringFormatCount" severity="error"/> |
| 26 | <issue id="TrustAllX509TrustManager" severity="error"/> |
| 27 | <issue id="Typos" severity="error"/> |
| 28 | <issue id="UnsafeProtectedBroadcastReceiver" severity="error"/> |
| 29 | <issue id="UnusedResources" severity="error"/> |
| 30 | |
| 31 | <!-- Someone needs to figure out how to get packageName and return |
| 32 | status on Android older than android-21: |
| 33 | https://gitlab.com/fdroid/privileged-extension/issues/55 --> |
| 34 | <issue id="InlinedApi" severity="error"> |
| 35 | <ignore path="src/main/java/org/fdroid/fdroid/privileged/PrivilegedService.java"/> |
| 36 | </issue> |
| 37 | |
| 38 | <!-- both the correct and deprecated he/id locales need to be present for |
| 39 | them to be recognized on all devices --> |
| 40 | <issue id="LocaleFolder" severity="error"> |
| 41 | <ignore path="src/main/res/values-he"/> |
| 42 | <ignore path="src/main/res/values-id"/> |
| 43 | </issue> |
| 44 | </lint> |