1
0
Fork 0
firefox/mobile/android/android-components/android-lint.gradle
Daniel Baumann 5e9a113729
Adding upstream version 140.0.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-25 09:37:52 +02:00

21 lines
963 B
Groovy

android {
lint {
warningsAsErrors = true
abortOnError = false
// With our L10N process its totally possible to have missing or (temporarily) extra translations.
disable 'MissingTranslation',
'ExtraTranslation',
// We do not want to enforce this as a generic rule for all languages (see #6117, #6056, #6118)
'TypographyEllipsis',
// https://github.com/mozilla-mobile/android-components/issues/10641
'UnspecifiedImmutableFlag',
// https://bugzilla.mozilla.org/show_bug.cgi?id=1795427
'UnusedResources',
// "We do not impose rules on locales"
// https://github.com/mozilla-mobile/android-components/pull/11069
'TypographyDashes'
sarifReport = true
sarifOutput = file("../../../build/reports/lint/lint-report-${project.name}.sarif.json")
}
}