-
Notifications
You must be signed in to change notification settings - Fork 6
/
Copy pathlint.xml
81 lines (77 loc) · 3.79 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
78
79
80
81
<?xml version="1.0" encoding="UTF-8"?>
<lint>
<!-- INFO -->
<issue id="IconMissingDensityFolder" severity="info" />
<!-- WARNING -->
<issue id="RtlSymmetry" severity="warning" />
<issue id="UseSparseArrays" severity="warning" />
<!-- ERROR -->
<issue id="SimpleDateFormat" severity="error" />
<issue id="RtlCompat" severity="error" />
<issue id="DefaultLocale" severity="error" />
<issue id="RtlHardcoded" severity="error" />
<issue id="InconsistentArrays" severity="error" />
<issue id="HardcodedText" severity="error" />
<issue id="IconDuplicates" severity="error" />
<issue id="IconDipSize" severity="error" />
<issue id="InconsistentArrays" severity="error" />
<issue id="StringFormatCount" severity="error" />
<issue id="ScrollViewSize" severity="error" />
<issue id="ApplySharedPref" severity="error" />
<issue id="CustomViewStyleable" severity="error" />
<issue id="DuplicateIncludedIds" severity="error" />
<issue id="InconsistentLayout" severity="error" />
<issue id="InlinedApi" severity="error" />
<issue id="InconsistentLayout" severity="error" />
<issue id="InlinedApi" severity="error" />
<issue id="UnknownIdInLayout" severity="error" />
<issue id="GradleOverrides" severity="error" />
<issue id="ExtraText" severity="error" />
<issue id="SpUsage" severity="error" />
<issue id="SwitchIntDef" severity="error" />
<issue id="Typos" severity="error" />
<issue id="AddJavascriptInterface" severity="error" />
<issue id="DrawAllocation" severity="error" />
<issue id="Recycle" severity="error" />
<issue id="ObsoleteLayoutParam" severity="error" />
<issue id="ObsoleteSdkInt" severity="error" />
<issue id="ViewHolder" severity="error" />
<issue id="DuplicateDivider" severity="error" />
<issue id="InefficientWeight" severity="error" />
<issue id="UnusedResources" severity="error" />
<issue id="UselessParent" severity="error" />
<issue id="UnusedNamespace" severity="error" />
<issue id="TypographyDashes" severity="error" />
<issue id="TypographyEllipsis" severity="error" />
<issue id="IconLocation" severity="error" />
<issue id="TextFields" severity="error" />
<issue id="SmallSp" severity="error" />
<issue id="StaticFieldLeak" severity="error" />
<issue id="SetTextI18n" severity="error" />
<issue id="RelativeOverlap" severity="error" />
<issue id="PrivateResource" severity="error" />
<issue id="StaticFieldLeak" severity="error" />
<issue id="ContentDescription" severity="error" />
<issue id="ClickableViewAccessibility" severity="error" />
<issue id="KeyboardInaccessibleWidget" severity="error" />
<issue id="UnusedAttribute" severity="error" />
<issue id="UnusedAttribute" severity="error" />
<issue id="IconXmlAndPng" severity="error" />
<issue id="RtlSymmetry" severity="error" />
<issue id="ExportedReceiver" severity="error" />
<issue id="ExportedService" severity="error" />
<!-- IGNORE -->
<issue id="MissingTranslation" severity="ignore" />
<issue id="ExtraTranslation" severity="ignore" />
<issue id="PluralsCandidate" severity="ignore" /> <!-- GlotPress doesn't support plurals -->
<issue id="LabelFor" severity="ignore" /> <!-- Severity should be increased to error when minSdk >= 17 -->
<issue id="OldTargetApi" severity="ignore" /> <!-- We are aware of down sides of having an old targetApi -->
<issue id="UseAppTint" severity="ignore" /> <!-- android:tint attribute had a problem on API<=21, but our minSdk is 21, ignore -->
<issue id="InvalidPackage">
<ignore path="**/sentry*.jar"/>
</issue>
<issue id="UnusedResources" severity="error">
<ignore path="**/.gradle/caches/**" />
<ignore path="**/generated/**" />
</issue>
</lint>