diff options
author | Harsh Shandilya <me@msfjarvis.dev> | 2023-03-01 17:17:09 +0530 |
---|---|---|
committer | Harsh Shandilya <me@msfjarvis.dev> | 2023-03-01 17:17:09 +0530 |
commit | ff58afde28df16d8c39f1d6c43594297fb8bc57e (patch) | |
tree | 2d3d4fe5c4fd075235d615f05106d206bb5e1259 /app | |
parent | bdf81cba521803bbf33ece7f3bdfe8b4220e5937 (diff) |
refactor(app): centralize lint configuration
Diffstat (limited to 'app')
-rw-r--r-- | app/build.gradle.kts | 11 | ||||
-rw-r--r-- | app/lint.xml | 17 |
2 files changed, 17 insertions, 11 deletions
diff --git a/app/build.gradle.kts b/app/build.gradle.kts index c4d1cff5..bbe15182 100644 --- a/app/build.gradle.kts +++ b/app/build.gradle.kts @@ -37,17 +37,6 @@ android { } namespace = "app.passwordstore" - - lint { - abortOnError = true - checkReleaseBuilds = false - warningsAsErrors = true - disable.add("MissingTranslation") - disable.add("PluralsCandidate") - disable.add("ImpliedQuantity") - disable.add("DialogFragmentCallbacksDetector") - baseline = file("lint-baseline.xml") - } } dependencies { diff --git a/app/lint.xml b/app/lint.xml index 4f3fbe6c..af4a7b2c 100644 --- a/app/lint.xml +++ b/app/lint.xml @@ -26,5 +26,22 @@ <issue id="UnusedResources"> <ignore path="src/main/res/values/bools.xml" /> <ignore path="src/main/res/values/colors_material3.xml" /> + <ignore path="src/main/res/layout/map_preference_widget_switch.xml" /> </issue> + <issue id="PrivateResource"> + <ignore path="src/main/res/layout/map_preference_widget_switch.xml" /> + </issue> + <issue id="Deprecated"> + <ignore path="src/main/res/layout/item_field.xml" /> + </issue> + <issue id="VectorPath"> + <ignore path="src/main/res/drawable/app_settings_alt_24px.xml" /> + <ignore path="src/main/res/drawable/ic_launcher_foreground_monochrome.xml" /> + <ignore path="src/main/res/drawable/ic_miscellaneous_services_24px.xml" /> + <ignore path="src/main/res/drawable/ic_miscellaneous_services_24px.xml" /> + </issue> + <issue id="GradleDependency" severity="ignore" /> + <issue id="ReportShortcutUsage" severity="ignore" /> + <issue id="MissingTranslation" severity="ignore" /> + <issue id="ImpliedQuantity" severity="ignore" /> </lint> |