mirror of
https://github.com/kiwix/kiwix-android.git
synced 2025-09-22 03:54:18 -04:00
Merge pull request #1252 from kiwix/feature/macgills/#98-lint
#98 add baseline lint to ignore existing issues, aggressively mark al…
This commit is contained in:
commit
aa0acb2123
@ -226,20 +226,13 @@ android {
|
||||
testBuildType "debug"
|
||||
|
||||
lintOptions {
|
||||
// Treat lint seriously
|
||||
abortOnError true
|
||||
// Hardcoded strings in xml
|
||||
error "HardcodedText"
|
||||
// Hardcoded strings in setText
|
||||
error "SetTextI18n"
|
||||
// Strings.xml issues
|
||||
warning "ExtraTranslation"
|
||||
warning "MissingTranslation"
|
||||
|
||||
// Warnings
|
||||
warning "InvalidPackage"
|
||||
warning "StringFormatInvalid"
|
||||
checkAllWarnings true
|
||||
warningsAsErrors true
|
||||
ignore 'MissingTranslation' //TODO stop ignoring
|
||||
baseline file("lint-baseline.xml")
|
||||
}
|
||||
|
||||
testOptions {
|
||||
unitTests.returnDefaultValues = true
|
||||
unitTests.all {
|
||||
|
16748
app/lint-baseline.xml
Normal file
16748
app/lint-baseline.xml
Normal file
File diff suppressed because it is too large
Load Diff
@ -1 +0,0 @@
|
||||
values-id
|
@ -1 +0,0 @@
|
||||
values-he
|
@ -1 +0,0 @@
|
||||
values-yi
|
Loading…
x
Reference in New Issue
Block a user