element-android/vector/lint.xml

110 lines
4.3 KiB
XML
Raw Normal View History

2019-04-03 13:04:24 +03:00
<?xml version="1.0" encoding="UTF-8"?>
<lint>
2022-05-02 15:09:04 +03:00
<!-- Ensure this file does not contain unknown Ids -->
<issue id="UnknownIssueId" severity="error" />
2019-04-03 13:04:24 +03:00
<!-- Modify some severity -->
<!-- Resource -->
<issue id="MissingTranslation" severity="ignore" />
2019-04-03 13:04:24 +03:00
<issue id="TypographyEllipsis" severity="error" />
<issue id="ImpliedQuantity" severity="warning" />
2022-03-03 12:22:59 +03:00
<issue id="MissingQuantity" severity="warning" />
<issue id="UnusedQuantity" severity="error" />
2020-02-27 16:35:57 +03:00
<issue id="IconXmlAndPng" severity="error" />
<issue id="IconDipSize" severity="error" />
<issue id="IconDuplicatesConfig" severity="error" />
<issue id="IconDuplicates" severity="error" />
2020-02-27 17:11:43 +03:00
<issue id="IconExpectedSize" severity="error" />
<issue id="LocaleFolder" severity="error" />
2019-04-03 13:04:24 +03:00
2022-03-09 01:15:37 +03:00
<issue id="TooManyViews" severity="warning">
<!-- Ignore TooManyViews in debug build type -->
<ignore path="**/src/debug/**" />
</issue>
2022-02-25 00:03:42 +03:00
<issue id="UnusedResources" severity="error">
2022-03-09 16:55:40 +03:00
<!-- Ignore unused resource in debug build type -->
<ignore path="**/src/debug/**" />
<!-- Following resources are for F-Droid variant only, so ignore for GPlay -->
<ignore regexp="settings_troubleshoot_test_service_boot_*" />
<ignore regexp="settings_troubleshoot_test_bg_restricted_*" />
<ignore regexp="settings_troubleshoot_test_battery_*" />
<!-- Following resources are for GPlay variant only, so ignore for F-Droid -->
<ignore regexp="settings_troubleshoot_test_play_services_" />
<ignore regexp="settings_troubleshoot_test_push_loop_" />
<ignore regexp="settings_troubleshoot_test_token_registration_" />
<ignore regexp="settings_troubleshoot_test_fcm_" />
<ignore regexp="no_valid_google_play_services_apk" />
<ignore regexp="sas_error_unknown" />
2022-02-25 00:03:42 +03:00
</issue>
2019-04-03 13:04:24 +03:00
<!-- UX -->
<issue id="ButtonOrder" severity="error" />
2020-03-05 13:09:58 +03:00
<issue id="TextFields" severity="error" />
2019-04-03 13:04:24 +03:00
<!-- Accessibility -->
<issue id="LabelFor" severity="error" />
<issue id="ContentDescription" severity="error" />
2021-09-14 16:57:24 +03:00
<issue id="SpUsage" severity="error" />
2019-04-03 13:04:24 +03:00
<!-- Layout -->
<issue id="UnknownIdInLayout" severity="error" />
<issue id="StringFormatCount" severity="error" />
<issue id="HardcodedText" 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 17:11:43 +03:00
<issue id="NegativeMargin" severity="error" />
<issue id="UseCompatTextViewDrawableXml" severity="error" />
2019-04-03 13:04:24 +03:00
<!-- RTL -->
<issue id="RtlEnabled" severity="error" />
<issue id="RtlHardcoded" severity="error" />
2019-04-03 13:04:24 +03:00
<issue id="RtlSymmetry" severity="error" />
<!-- Code -->
<issue id="NewApi" severity="error" />
2019-04-03 13:04:24 +03:00
<issue id="SetTextI18n" severity="error" />
<issue id="ViewConstructor" severity="error" />
<issue id="UseValueOf" severity="error" />
<issue id="ObsoleteSdkInt" severity="error" />
<issue id="Recycle" severity="error" />
<issue id="KotlinPropertyAccess" severity="error" />
2020-12-02 19:04:54 +03:00
<issue id="DefaultLocale" severity="error" />
<issue id="CheckResult" severity="error" />
2019-04-03 13:04:24 +03:00
2019-12-19 12:46:11 +03:00
<issue id="InvalidPackage">
<!-- Ignore error from HtmlCompressor lib -->
<ignore path="**/htmlcompressor-1.4.jar" />
<!-- 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 12:46:11 +03:00
</issue>
<!-- Manifest -->
<issue id="PermissionImpliesUnsupportedChromeOsHardware" severity="error" />
2021-06-11 11:19:42 +03:00
<!-- Performance -->
<issue id="UselessParent" severity="error" />
<!-- Dependencies -->
<issue id="KtxExtensionAvailable" severity="error" />
<!-- Timber -->
2020-03-11 13:19:22 +03:00
<!-- This rule is failing on CI because it's marked as unknwown rule id :/-->
<!-- <issue id="BinaryOperationInTimber" severity="error" />-->
2021-11-17 16:18:02 +03:00
<issue id="LogNotTimber" severity="error" />
<!-- Wording -->
<issue id="Typos" severity="error" />
2022-01-04 14:47:46 +03:00
<issue id="TypographyDashes" severity="error" />
<issue id="PluralsCandidate" severity="error" />
<!-- DI -->
<issue id="JvmStaticProvidesInObjectDetector" severity="error" />
2019-04-03 13:04:24 +03:00
</lint>