-
Notifications
You must be signed in to change notification settings - Fork 0
/
lint.xml
77 lines (56 loc) · 3.12 KB
/
lint.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<issue id="AppCompatResource" severity="ignore" />
<!-- we cannot use App Indexing with the GC website -->
<issue id="AppLinkUrlError" severity="ignore" />
<issue id="ContentDescription" severity="ignore" />
<!-- false positives for return values of RxJava subscribe() calls -->
<issue id="CheckResult" severity="ignore" />
<!-- avoid outdated lint warnings typically from external libraries -->
<issue id="ObsoleteLintCustomCheck" severity="ignore" />
<issue id="DuplicateIds" severity="error" />
<issue id="DuplicateIncludedIds" severity="error" />
<issue id="ExportedContentProvider" severity="ignore" />
<!-- we cannot use App Indexing with the GC website -->
<issue id="GoogleAppIndexingWarning" severity="ignore" />
<issue id="IconDensities" severity="ignore" />
<issue id="IconDuplicates" severity="ignore">
<!-- planned duplicate -->
<ignore path="src/main/res/drawable-xhdpi/attribute_kids*.png" />
</issue>
<!-- unfinished localizations are okay since we always have English as fallback -->
<issue id="MissingTranslation" severity="ignore" />
<!-- old translation will be deleted by the next crowdin import -->
<issue id="ExtraTranslation" severity="ignore" />
<!-- we will take what is given by crowdin - For locale "fr": "many" is missing currently -->
<issue id="MissingQuantity" severity="ignore" />
<!-- treat non use of ellipsis character as error to avoid them on incoming translations -->
<issue id="TypographyEllipsis" severity="error" />
<issue id="Registered" severity="ignore" />
<issue id="RtlHardcoded" severity="ignore" />
<issue id="RtlSymmetry" severity="ignore" />
<!-- all false positives in coordinate input -->
<issue id="TypographyDashes" severity="ignore" />
<!-- many false positives due to our many supported languages -->
<issue id="Typos" severity="ignore" />
<issue id="UnusedAttribute" severity="ignore" />
<!-- let translators create more plural strings than needed -->
<issue id="UnusedQuantity" severity="ignore" />
<!-- resources loaded by dynamic name lookup -->
<issue id="UnusedResources">
<!-- changelog files are referenced depending of release phase -->
<ignore path="src/main/res/raw/changelog_*.md" />
<!-- translations no longer used -->
<ignore path="src/main/res/values-*/strings.xml" />
<!-- used for notification system -->
<ignore path="src/main/res/drawable-xhdpi/attribute_maintenance.png" />
<!-- cache rating markers (drawables and color values used by the drawables) -->
<ignore path="src/main/res/drawable/marker_rating_*.xml" />
<ignore regexp="R\.color\.marker_rating_[0-5]{1,2}" />
<!-- defined in build.gradle android.buildTypes.manifestPlaceholders -->
<ignore path="src/main/res/*/ic_launcher_*round.xml" />
</issue>
<issue id="MissingDefaultResource" severity="informational"/>
<!-- We've decided to stay with our slim splashscreen -->
<issue id="CustomSplashScreen" severity="ignore"/>
</lint>