2019-04-03 18:04:24 +08:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<lint>
|
|
|
|
<!-- Modify some severity -->
|
|
|
|
|
|
|
|
<!-- Resource -->
|
|
|
|
<issue id="MissingTranslation" severity="warning" />
|
|
|
|
<issue id="TypographyEllipsis" severity="error" />
|
|
|
|
<issue id="ImpliedQuantity" severity="warning" />
|
2020-08-13 18:15:15 +08:00
|
|
|
<issue id="UnusedQuantity" severity="error" />
|
2020-02-27 21:35:57 +08:00
|
|
|
<issue id="IconXmlAndPng" severity="error" />
|
2020-02-27 21:43:07 +08:00
|
|
|
<issue id="IconDipSize" severity="error" />
|
|
|
|
<issue id="IconDuplicatesConfig" severity="error" />
|
2020-02-27 21:56:18 +08:00
|
|
|
<issue id="IconDuplicates" severity="error" />
|
2020-02-27 22:11:43 +08:00
|
|
|
<issue id="IconExpectedSize" severity="error" />
|
2019-04-03 18:04:24 +08:00
|
|
|
|
|
|
|
<!-- UX -->
|
|
|
|
<issue id="ButtonOrder" severity="error" />
|
2020-03-05 18:09:58 +08:00
|
|
|
<issue id="TextFields" severity="error" />
|
2019-04-03 18:04:24 +08:00
|
|
|
|
|
|
|
<!-- Layout -->
|
|
|
|
<issue id="UnknownIdInLayout" severity="error" />
|
|
|
|
<issue id="StringFormatCount" severity="error" />
|
|
|
|
<issue id="HardcodedText" severity="error" />
|
|
|
|
<issue id="SpUsage" severity="error" />
|
|
|
|
<issue id="ObsoleteLayoutParam" severity="error" />
|
|
|
|
<issue id="InefficientWeight" severity="error" />
|
|
|
|
<issue id="DisableBaselineAlignment" severity="error" />
|
|
|
|
<issue id="ScrollViewSize" severity="error" />
|
2020-02-27 22:11:43 +08:00
|
|
|
<issue id="NegativeMargin" severity="error" />
|
2019-04-03 18:04:24 +08:00
|
|
|
|
|
|
|
<!-- RTL -->
|
|
|
|
<issue id="RtlEnabled" severity="error" />
|
2019-06-28 20:57:41 +08:00
|
|
|
<!-- Now with min API set to 19, we do not need Left and Right attribute, Start and End is enougth. For the moment, just reduce the severity -->
|
|
|
|
<issue id="RtlHardcoded" severity="warning" />
|
2019-04-03 18:04:24 +08:00
|
|
|
<issue id="RtlSymmetry" severity="error" />
|
|
|
|
|
|
|
|
<!-- Code -->
|
|
|
|
<issue id="SetTextI18n" severity="error" />
|
|
|
|
<issue id="ViewConstructor" severity="error" />
|
|
|
|
<issue id="UseValueOf" severity="error" />
|
2020-02-27 21:30:49 +08:00
|
|
|
<issue id="Recycle" severity="error" />
|
2020-02-27 22:27:46 +08:00
|
|
|
<issue id="KotlinPropertyAccess" severity="error" />
|
2019-04-03 18:04:24 +08:00
|
|
|
|
2019-12-19 17:46:11 +08:00
|
|
|
<!-- Ignore error from HtmlCompressor lib -->
|
|
|
|
<issue id="InvalidPackage">
|
2020-02-27 22:27:46 +08:00
|
|
|
<ignore path="**/htmlcompressor-1.4.jar" />
|
2019-12-19 17:46:11 +08:00
|
|
|
</issue>
|
2020-02-27 22:41:35 +08:00
|
|
|
|
|
|
|
<!-- Manifest -->
|
|
|
|
<issue id="PermissionImpliesUnsupportedChromeOsHardware" severity="error" />
|
2020-03-05 17:40:36 +08:00
|
|
|
|
|
|
|
<!-- Timber -->
|
2020-03-11 18:19:22 +08:00
|
|
|
<!-- This rule is failing on CI because it's marked as unknwown rule id :/-->
|
|
|
|
<!-- <issue id="BinaryOperationInTimber" severity="error" />-->
|
2020-03-05 18:02:14 +08:00
|
|
|
|
|
|
|
<!-- Wording -->
|
|
|
|
<!-- TODO When strings are imported from Weblate, move this to error -->
|
|
|
|
<issue id="Typos" severity="warning" />
|
2019-04-03 18:04:24 +08:00
|
|
|
</lint>
|