lint: make UnusedResources an error

!520
This commit is contained in:
Hans-Christoph Steiner 2017-05-31 11:16:39 +02:00
parent feeb8c17ad
commit db120c0f1f

View File

@ -6,9 +6,12 @@
<!-- to make CI fail on errors until this is fixed <!-- to make CI fail on errors until this is fixed
https://github.com/rtyley/spongycastle/issues/7 --> https://github.com/rtyley/spongycastle/issues/7 -->
<issue id="InvalidPackage" severity="warning"/> <issue id="InvalidPackage" severity="warning"/>
<issue id="ImpliedQuantity" severity="warning"/> <issue id="ImpliedQuantity" severity="error"/>
<!-- These are important to us, so promote from warning to 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" />
</issue>
<issue id="AppCompatMethod" severity="error"/> <issue id="AppCompatMethod" severity="error"/>
<issue id="NestedScrolling" severity="error"/> <issue id="NestedScrolling" severity="error"/>
<issue id="StringFormatCount" severity="error"/> <issue id="StringFormatCount" severity="error"/>