From 89cb87b2a9b9f08a7224b550759e3981a4b7bc94 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, 10 insertions(+), 6 deletions(-) create mode 100644 app/lint.xml diff --git a/app/build.gradle.kts b/app/build.gradle.kts index e2fa9dfdb..e72fcfcfc 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -88,13 +88,9 @@ 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: + lintConfig = file("lint.xml") + // Continue the debug 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" } 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 @@ + + + + +