2019-04-03 12:04:24 +02:00
|
|
|
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
|
<lint>
|
|
|
|
<!-- Modify some severity -->
|
|
|
|
|
|
|
|
<!-- Resource -->
|
2021-03-03 18:17:09 +01:00
|
|
|
<issue id="MissingTranslation" severity="ignore" />
|
2019-04-03 12:04:24 +02:00
|
|
|
<issue id="TypographyEllipsis" severity="error" />
|
|
|
|
<issue id="ImpliedQuantity" severity="warning" />
|
2020-08-13 12:15:15 +02:00
|
|
|
<issue id="UnusedQuantity" severity="error" />
|
2020-02-27 14:35:57 +01:00
|
|
|
<issue id="IconXmlAndPng" severity="error" />
|
2020-02-27 14:43:07 +01:00
|
|
|
<issue id="IconDipSize" severity="error" />
|
|
|
|
<issue id="IconDuplicatesConfig" severity="error" />
|
2020-02-27 14:56:18 +01:00
|
|
|
<issue id="IconDuplicates" severity="error" />
|
2020-02-27 15:11:43 +01:00
|
|
|
<issue id="IconExpectedSize" severity="error" />
|
2021-03-10 18:36:23 +01:00
|
|
|
<issue id="LocaleFolder" severity="error" />
|
2019-04-03 12:04:24 +02:00
|
|
|
|
|
|
|
<!-- UX -->
|
|
|
|
<issue id="ButtonOrder" severity="error" />
|
2020-03-05 11:09:58 +01:00
|
|
|
<issue id="TextFields" severity="error" />
|
2019-04-03 12:04:24 +02:00
|
|
|
|
2021-02-12 14:35:28 +01:00
|
|
|
<!-- Accessibility -->
|
|
|
|
<issue id="LabelFor" severity="error" />
|
2021-02-12 20:18:34 +01:00
|
|
|
<issue id="ContentDescription" severity="error" />
|
2021-02-12 14:35:28 +01:00
|
|
|
|
2019-04-03 12:04:24 +02: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 15:11:43 +01:00
|
|
|
<issue id="NegativeMargin" severity="error" />
|
2020-10-08 09:30:25 +02:00
|
|
|
<issue id="UseCompatTextViewDrawableXml" severity="error" />
|
2019-04-03 12:04:24 +02:00
|
|
|
|
|
|
|
<!-- RTL -->
|
|
|
|
<issue id="RtlEnabled" severity="error" />
|
2020-08-13 18:49:19 +02:00
|
|
|
<issue id="RtlHardcoded" severity="error" />
|
2019-04-03 12:04:24 +02:00
|
|
|
<issue id="RtlSymmetry" severity="error" />
|
|
|
|
|
|
|
|
<!-- Code -->
|
|
|
|
<issue id="SetTextI18n" severity="error" />
|
|
|
|
<issue id="ViewConstructor" severity="error" />
|
|
|
|
<issue id="UseValueOf" severity="error" />
|
2020-08-18 00:44:50 +02:00
|
|
|
<issue id="ObsoleteSdkInt" severity="error" />
|
2020-02-27 14:30:49 +01:00
|
|
|
<issue id="Recycle" severity="error" />
|
2020-02-27 15:27:46 +01:00
|
|
|
<issue id="KotlinPropertyAccess" severity="error" />
|
2020-12-02 17:04:54 +01:00
|
|
|
<issue id="DefaultLocale" severity="error" />
|
2021-09-10 18:14:39 +02:00
|
|
|
<issue id="CheckResult" severity="error" />
|
2019-04-03 12:04:24 +02:00
|
|
|
|
2019-12-19 10:46:11 +01:00
|
|
|
<issue id="InvalidPackage">
|
2020-08-14 21:33:46 +02:00
|
|
|
<!-- Ignore error from HtmlCompressor lib -->
|
2020-02-27 15:27:46 +01:00
|
|
|
<ignore path="**/htmlcompressor-1.4.jar" />
|
2020-08-14 21:33:46 +02:00
|
|
|
<!-- Ignore error from dropbox-core-sdk-3.0.8 lib, which comes with Jitsi library -->
|
|
|
|
<ignore path="**/dropbox-core-sdk-3.0.8.jar" />
|
2019-12-19 10:46:11 +01:00
|
|
|
</issue>
|
2020-02-27 15:41:35 +01:00
|
|
|
|
|
|
|
<!-- Manifest -->
|
|
|
|
<issue id="PermissionImpliesUnsupportedChromeOsHardware" severity="error" />
|
2020-03-05 10:40:36 +01:00
|
|
|
|
2021-06-11 10:19:42 +02:00
|
|
|
<!-- Performance -->
|
|
|
|
<issue id="UselessParent" severity="error" />
|
|
|
|
|
2020-12-02 12:46:15 +01:00
|
|
|
<!-- Dependencies -->
|
|
|
|
<issue id="KtxExtensionAvailable" severity="error" />
|
|
|
|
|
2020-03-05 10:40:36 +01:00
|
|
|
<!-- Timber -->
|
2020-03-11 11:19:22 +01:00
|
|
|
<!-- This rule is failing on CI because it's marked as unknwown rule id :/-->
|
|
|
|
<!-- <issue id="BinaryOperationInTimber" severity="error" />-->
|
2020-03-05 11:02:14 +01:00
|
|
|
|
|
|
|
<!-- Wording -->
|
2021-03-03 18:17:09 +01:00
|
|
|
<issue id="Typos" severity="error" />
|
2021-03-03 19:35:46 +01:00
|
|
|
|
|
|
|
<!-- Ignore lint issue in generated resource file from templates.
|
|
|
|
https://github.com/LikeTheSalad/android-string-reference generates string from the default language
|
|
|
|
if the translation is missing, and it can lead to typos. Lint should only check the string from the
|
|
|
|
original file, so with id starting by `template_`. -->
|
|
|
|
<issue id="all">
|
|
|
|
<ignore path="**/generated/resolved/**/resolved.xml" />
|
|
|
|
</issue>
|
2021-05-18 21:23:50 +02:00
|
|
|
|
|
|
|
<!-- Bug in lint agp 4.1 incorrectly thinks kotlin forEach is using java 8 API's. -->
|
|
|
|
<!-- FIXME this workaround should be removed in a near future -->
|
|
|
|
<issue id="NewApi" severity="warning" />
|
2019-04-03 12:04:24 +02:00
|
|
|
</lint>
|