Lint: Ignore missing and extra translations

This commit is contained in:
José Rebelo 2023-10-08 21:40:35 +01:00
parent 9dde497b07
commit b12ac00bb8
2 changed files with 5 additions and 2 deletions

View File

@ -225,7 +225,7 @@ android {
lintOptions {
abortOnError ABORT_ON_CHECK_FAILURE
lintConfig file("${project.rootDir}/config/lint/lint.xml")
lintConfig file("${project.rootDir}/app/src/main/lint.xml")
// If true, generate an HTML report (with issue explanations, sourcecode, etc)
htmlReport true
// Optional path to report (default will be lint-results.html in the builddir)

View File

@ -1,3 +1,6 @@
<?xml version="1.0" encoding="UTF-8"?>
<lint>
</lint>
<!-- Ignore missing and extra translations - they are fetched by weblate -->
<issue id="ExtraTranslation" severity="ignore" />
<issue id="MissingTranslation" severity="ignore" />
</lint>