From ae7078e5b6147afdb3e05e5f15ec7437dca022f8 Mon Sep 17 00:00:00 2001 From: Aayush Gupta Date: Wed, 4 Feb 2026 16:46:36 +0800 Subject: [PATCH] Introduce lint configuration and enable checks Supress missing translation errors as they are done by volunteers Signed-off-by: Aayush Gupta --- app/build.gradle.kts | 8 +------- app/lint.xml | 8 ++++++++ 2 files changed, 9 insertions(+), 7 deletions(-) create mode 100644 app/lint.xml diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e2fa9dfdb..f7823b064 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -88,13 +88,7 @@ configure { } lint { - checkReleaseBuilds = false - // Or, if you prefer, you can continue to check for errors in release builds, - // but continue the build even when errors are found: - abortOnError = false - // suppress false warning ("Resource IDs will be non-final in Android Gradle Plugin version - // 5.0, avoid using them in switch case statements"), which affects only library projects - disable += "NonConstantResourceId" + lintConfig = file("lint.xml") } compileOptions { diff --git a/app/lint.xml b/app/lint.xml new file mode 100644 index 000000000..d07ece5ea --- /dev/null +++ b/app/lint.xml @@ -0,0 +1,8 @@ + + + + +