mirror of
https://github.com/vector-im/element-android.git
synced 2024-11-15 01:35:07 +08:00
60 lines
2.3 KiB
XML
60 lines
2.3 KiB
XML
<?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" />
|
|
<issue id="UnusedQuantity" severity="error" />
|
|
<issue id="IconXmlAndPng" severity="error" />
|
|
<issue id="IconDipSize" severity="error" />
|
|
<issue id="IconDuplicatesConfig" severity="error" />
|
|
<issue id="IconDuplicates" severity="error" />
|
|
<issue id="IconExpectedSize" severity="error" />
|
|
|
|
<!-- UX -->
|
|
<issue id="ButtonOrder" severity="error" />
|
|
<issue id="TextFields" severity="error" />
|
|
|
|
<!-- 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" />
|
|
<issue id="NegativeMargin" severity="error" />
|
|
|
|
<!-- RTL -->
|
|
<issue id="RtlEnabled" severity="error" />
|
|
<!-- 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" />
|
|
<issue id="RtlSymmetry" severity="error" />
|
|
|
|
<!-- Code -->
|
|
<issue id="SetTextI18n" severity="error" />
|
|
<issue id="ViewConstructor" severity="error" />
|
|
<issue id="UseValueOf" severity="error" />
|
|
<issue id="Recycle" severity="error" />
|
|
<issue id="KotlinPropertyAccess" severity="error" />
|
|
|
|
<!-- Ignore error from HtmlCompressor lib -->
|
|
<issue id="InvalidPackage">
|
|
<ignore path="**/htmlcompressor-1.4.jar" />
|
|
</issue>
|
|
|
|
<!-- Manifest -->
|
|
<issue id="PermissionImpliesUnsupportedChromeOsHardware" severity="error" />
|
|
|
|
<!-- Timber -->
|
|
<!-- This rule is failing on CI because it's marked as unknwown rule id :/-->
|
|
<!-- <issue id="BinaryOperationInTimber" severity="error" />-->
|
|
|
|
<!-- Wording -->
|
|
<!-- TODO When strings are imported from Weblate, move this to error -->
|
|
<issue id="Typos" severity="warning" />
|
|
</lint>
|