lint.xml (2569B)
1 <?xml version="1.0" encoding="UTF-8"?> 2 <!-- This Source Code Form is subject to the terms of the Mozilla Public 3 - License, v. 2.0. If a copy of the MPL was not distributed with this 4 - file, You can obtain one at http://mozilla.org/MPL/2.0/. --> 5 <lint> 6 <!-- While we are developing the app and importing/exporting strings from the l10n repository 7 there will always be missing or extra translations. --> 8 <issue id="MissingTranslation" severity="ignore" /> 9 <issue id="MissingQuantity" severity="ignore" /> 10 <issue id="PluralsCandidate" severity="ignore" /> 11 <issue id="StringFormatCount" severity="ignore" /> 12 <issue id="TypographyEllipsis" severity="ignore" /> 13 <issue id="ExtraTranslation" severity="warning" /> 14 <issue id="MissingDefaultResource" severity="ignore" /> 15 <issue id="BlankString" severity="error"> 16 <ignore path="**/values/preference_keys.xml" /> 17 </issue> 18 <issue id="BrandUsage" severity="error"> 19 <ignore path="**/values-*/strings.xml" /> 20 <ignore path="**/values/app.xml" /> 21 </issue> 22 <issue id="IncorrectEllipsisCharacter" severity="error"> 23 <ignore path="**/values-*/strings.xml" /> 24 </issue> 25 <issue id="IncorrectStraightQuote" severity="error"> 26 <ignore path="**/values-*/strings.xml" /> 27 </issue> 28 <issue id="IncorrectStraightDoubleQuote" severity="error"> 29 <ignore path="**/values-*/strings.xml" /> 30 </issue> 31 <issue id="PlaceholderComment" severity="error"> 32 <ignore path="**/values-*/strings.xml" /> 33 </issue> 34 <issue id="Typos" severity="error"> 35 <ignore path="**/values-*/strings.xml" /> 36 </issue> 37 38 <!-- Correctness: checks with increased severity --> 39 <issue id="ModifierParameter" severity="error" /> 40 41 <!-- Ignore support library lint bug: https://code.google.com/p/android/issues/detail?id=227098 42 (Present in 25.3.1, despite claims of being fixed in 23) --> 43 <issue id="InconsistentLayout"> 44 <ignore path="**/appcompat-v7/**/res/layout/notification_template_custom_big.xml"/> 45 </issue> 46 47 <!-- Ignore due to baseline bloat and lack of actionability --> 48 <issue id="VectorPath" severity="ignore" /> 49 50 <issue id="InvalidPackage"> 51 <!-- Sentry: it uses one SDK for desktop apps and Android apps so I assume it's 52 calling functions from desktop apps and silently ignoring those calls when 53 the functions are not available on Android. --> 54 <ignore path="**/sentry*.jar" /> 55 <ignore path="**/junit*.jar" /> 56 </issue> 57 </lint>