2019-01-29 16:42:10 +00:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<!-- This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
- License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
- file, You can obtain one at http://mozilla.org/MPL/2.0/. -->
|
|
|
|
<lint>
|
|
|
|
<issue id="InvalidPackage">
|
|
|
|
<!-- The Sentry SDK is compiled against parts of the Java SDK that are not available in the Android SDK.
|
|
|
|
Let's just ignore issues in the Sentry code since that is a third-party dependency anyways. -->
|
|
|
|
<ignore path="**/sentry*.jar" />
|
|
|
|
</issue>
|
2020-10-05 17:25:26 +00:00
|
|
|
|
2020-07-17 22:17:16 +00:00
|
|
|
<!-- Lints that don't apply to our translation process -->
|
2019-04-11 15:49:20 +00:00
|
|
|
<issue id="MissingTranslation" severity="ignore" />
|
2020-07-17 22:17:16 +00:00
|
|
|
<issue id="PluralsCandidate" severity="ignore" />
|
|
|
|
<issue id="StringFormatCount" severity="ignore" />
|
|
|
|
<issue id="TypographyEllipsis" severity="ignore" />
|
2019-04-22 18:24:49 +00:00
|
|
|
<issue id="ExtraTranslation" severity="warning" />
|
2020-10-05 17:25:26 +00:00
|
|
|
|
2020-07-17 22:17:16 +00:00
|
|
|
<!-- Lints that are disabled by default -->
|
|
|
|
<issue id="ConvertToWebp" severity="warning" />
|
2020-10-05 17:25:26 +00:00
|
|
|
|
|
|
|
<!-- Performance: we haven't validated that addressing these checks have a significant impact
|
|
|
|
on performance but they're very quick to fix so we escalate them to error. -->
|
2020-10-05 17:58:42 +00:00
|
|
|
<!-- Performance: big wins from a theoretical perspective so we escalate to error. -->
|
|
|
|
<issue id="DrawAllocation" severity="error" />
|
|
|
|
<issue id="Wakelock" severity="error" />
|
|
|
|
<issue id="WakelockTimeout" severity="error" />
|
|
|
|
<issue id="Recycle" severity="error" />
|
|
|
|
<issue id="StaticFieldLeak" severity="error" />
|
|
|
|
<issue id="ViewTag" severity="error" />
|
|
|
|
<issue id="ViewHolder" severity="error" />
|
|
|
|
<issue id="HandlerLeak" severity="error" />
|
|
|
|
<issue id="NestedWeights" severity="error" />
|
|
|
|
|
|
|
|
<!-- Performance: quick-to-fix violations so we escalate to error.
|
|
|
|
We haven't validated that they have a significant impact though. -->
|
|
|
|
<issue id="ObsoleteLayoutParam" severity="error" />
|
|
|
|
<issue id="ObsoleteSdkInt" severity="error" />
|
|
|
|
<issue id="AnimatorKeep" severity="error" />
|
|
|
|
<issue id="DuplicateDivider" severity="error" />
|
|
|
|
<issue id="MergeRootFrame" severity="error" />
|
|
|
|
<issue id="UseOfBundledGooglePlayServices" severity="error" />
|
|
|
|
<issue id="UseValueOf" severity="error" />
|
2020-10-05 17:25:26 +00:00
|
|
|
<issue id="InefficientWeight" severity="error" />
|
2020-10-05 17:58:42 +00:00
|
|
|
<issue id="DisableBaselineAlignment" severity="error" />
|
|
|
|
<issue id="UselessLeaf" severity="error" />
|
|
|
|
<issue id="UselessParent" severity="error" />
|
|
|
|
<issue id="UnusedNamespace" severity="error" />
|
|
|
|
|
|
|
|
<!-- Performance: checks we'd like to eventually set to error. -->
|
|
|
|
<issue id="UseCompoundDrawables" severity="warning" />
|
|
|
|
<issue id="Overdraw" severity="warning" />
|
|
|
|
<issue id="UnusedResources" severity="warning" />
|
|
|
|
|
|
|
|
<!-- Performance: checks that we're unsure of the value of that we might want to investigate. -->
|
|
|
|
<issue id="UnpackedNativeCode" severity="informational" />
|
|
|
|
<issue id="LogConditional" severity="informational" />
|
|
|
|
<issue id="VectorPath" severity="informational" />
|
|
|
|
<issue id="UseSparseArrays" severity="informational" /> <!-- hurts developer convenience of kotlin Map... -->
|
|
|
|
<issue id="TooDeepLayout" severity="warning" /> <!-- depth can be customized -->
|
|
|
|
<issue id="TooManyViews" severity="warning" /> <!-- view count can be customized -->
|
|
|
|
|
2019-01-29 16:42:10 +00:00
|
|
|
</lint>
|
|
|
|
|