Enable lint rules and fix found issues

This commit is contained in:
Kirill Kamakin
2021-11-13 13:42:40 +00:00
parent 2550f31524
commit 740dd12f3b
13 changed files with 10 additions and 11 deletions

View File

@@ -36,6 +36,10 @@ android {
buildFeatures {
viewBinding true
}
lintOptions {
disable 'ObsoleteLintCustomCheck'
enable 'ConvertToWebp', 'DuplicateStrings', 'EasterEgg', 'ExpensiveAssertion', 'IconExpectedSize', 'ImplicitSamInstance', 'InvalidPackage', 'KotlinPropertyAccess', 'LambdaLast', 'MinSdkTooLow', 'NegativeMargin', 'NoHardKeywords', 'Registered', 'RequiredSize', 'UnknownNullness', 'WrongThreadInterprocedural'
}
}
dependencies {