Ignore lint issue in generated resource file from templates

This commit is contained in:
Benoit Marty 2021-03-03 19:35:46 +01:00
parent 68364e0a82
commit b842e62563

View File

@ -66,4 +66,12 @@
<!-- Wording -->
<issue id="Typos" severity="error" />
<!-- 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>
</lint>