Bug 1931010 - Ignore localized strings for the 'Typos' lint. r=android-reviewers,matt-tighe

Differential Revision: https://phabricator.services.mozilla.com/D228889
This commit is contained in:
Ryan VanderMeulen
2024-11-13 23:05:50 +00:00
parent 7b8908f612
commit c94ce1adc9
3 changed files with 9 additions and 0 deletions

View File

@@ -15,4 +15,7 @@
<issue id="IncorrectStraightDoubleQuote" severity="error">
<ignore path="**/values-*/strings.xml" />
</issue>
<issue id="Typos" severity="error">
<ignore path="**/values-*/strings.xml" />
</issue>
</lint>

View File

@@ -35,6 +35,9 @@
<ignore path="**/values-*/strings.xml" />
<ignore path="**/values/*_strings.xml" />
</issue>
<issue id="Typos" severity="error">
<ignore path="**/values-*/strings.xml" />
</issue>
<!-- Lints that are disabled by default -->
<issue id="ConvertToWebp" severity="warning" />

View File

@@ -26,6 +26,9 @@
<issue id="IncorrectStraightDoubleQuote" severity="error">
<ignore path="**/values-*/strings.xml" />
</issue>
<issue id="Typos" severity="error">
<ignore path="**/values-*/strings.xml" />
</issue>
<!-- Ignore support library lint bug: https://code.google.com/p/android/issues/detail?id=227098
(Present in 25.3.1, despite claims of being fixed in 23) -->