
These are in fact needed: /export/share/code/fdroid/client/app/src/main/res/values/dimens.xml:25: Error: The resource R.dimen.fixed_width_padding appears to be unused [UnusedResources] <dimen name="fixed_width_padding">2dp</dimen> ~~~~~~~~~~~~~~~~~~~~~~~~~~ /export/share/code/fdroid/client/app/src/main/res/values/styles.xml:162: Error: The resource R.style.SwapTheme_StartSwap appears to be unused [UnusedResources] <style name="SwapTheme.StartSwap" parent="AppThemeLight"> ~~~~~~~~~~~~~~~~~~~~~~~~~~ /export/share/code/fdroid/client/app/src/main/res/values/styles.xml:166: Error: The resource R.style.SwapTheme_StartSwap_Text appears to be unused [UnusedResources] <style name="SwapTheme.StartSwap.Text" parent="@style/SwapTheme.StartSwap"> ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
46 lines
1.8 KiB
XML
46 lines
1.8 KiB
XML
<?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"/>
|
|
<issue id="ImpliedQuantity" severity="error"/>
|
|
|
|
<!-- These are important to us, so promote from warning to error -->
|
|
<issue id="UnusedResources" severity="error">
|
|
<ignore path="src/main/res/drawable/category_**.png" />
|
|
<ignore path="src/main/res/values/dimens.xml"/>
|
|
<ignore path="src/main/res/values/styles.xml"/>
|
|
</issue>
|
|
<issue id="AppCompatMethod" severity="error"/>
|
|
<issue id="NestedScrolling" severity="error"/>
|
|
<issue id="StringFormatCount" severity="error"/>
|
|
<issue id="UnsafeProtectedBroadcastReceiver" severity="error"/>
|
|
|
|
<issue id="PluralsCandidate" severity="error"/>
|
|
<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>
|
|
|
|
<issue id="ProtectedPermissions" severity="error">
|
|
<ignore path="src/main/AndroidManifest.xml"/>
|
|
</issue>
|
|
|
|
<!-- 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>
|
|
</lint>
|