Android Lint: customizing the warnings:

- typography warnings should be just informational (too many of them)
- unused IDs/resources make no sense for the library project
- layout errors should be errors
This commit is contained in:
Rodrigo Damazio
2012-01-05 21:12:00 -02:00
parent ee9a19d788
commit 35395926ff
3 changed files with 27 additions and 0 deletions
+19
View File
@@ -0,0 +1,19 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<issue id="AdapterViewChildren" severity="error" />
<issue id="DuplicateIds" severity="error" />
<issue id="DuplicateIncludedIds" severity="error" />
<issue id="ExtraTranslation" severity="error" />
<issue id="GifUsage" severity="error" />
<issue id="InconsistentArrays" severity="error" />
<issue id="MissingTranslation" severity="warning" />
<issue id="Proguard" severity="warning" />
<issue id="ScrollViewCount" severity="error" />
<issue id="ScrollViewSize" severity="error" />
<issue id="StateListReachable" severity="error" />
<issue id="TypographyDashes" severity="informational" />
<issue id="TypographyEllipsis" severity="informational" />
<issue id="TypographyFractions" severity="informational" />
<issue id="TypographyOther" severity="informational" />
<issue id="TypographyQuotes" severity="informational" />
</lint>
+5
View File
@@ -0,0 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<issue id="UnusedIds" severity="ignore" />
<issue id="UnusedResources" severity="ignore" />
</lint>
+3
View File
@@ -0,0 +1,3 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
</lint>