Add lint baseline
This commit is contained in:
parent
2c7e8c8f6f
commit
e364804026
2 changed files with 107 additions and 0 deletions
|
@ -16,6 +16,10 @@ android {
|
||||||
manifestPlaceholders["appAuthRedirectScheme"] = "FIXME: override this in your app project"
|
manifestPlaceholders["appAuthRedirectScheme"] = "FIXME: override this in your app project"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lint {
|
||||||
|
baseline = file("lint-baseline.xml")
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
dependencies {
|
dependencies {
|
||||||
|
|
103
feature/settings/import/lint-baseline.xml
Normal file
103
feature/settings/import/lint-baseline.xml
Normal file
|
@ -0,0 +1,103 @@
|
||||||
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
|
<issues format="6" by="lint 8.2.1" type="baseline" client="gradle" dependencies="false" name="AGP (8.2.1)" variant="all" version="8.2.1">
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="UseGetLayoutInflater"
|
||||||
|
message="Use of LayoutInflater.from(Context) detected. Consider using layoutInflater instead"
|
||||||
|
errorLine1=" val layoutInflater = LayoutInflater.from(requireContext())"
|
||||||
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/kotlin/app/k9mail/feature/settings/import/ui/PasswordPromptDialogFragment.kt"
|
||||||
|
line="64"
|
||||||
|
column="30"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="MissingQuantity"
|
||||||
|
message="For locale "cy" (Welsh) the following quantities should also be defined: `few` (e.g. "3 chi, 3 cath"), `zero` (e.g. "0 cŵn, 0 cathod")"
|
||||||
|
errorLine1=" <plurals name="settings_import_password_prompt">"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-cy/strings.xml"
|
||||||
|
line="24"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="UnusedQuantity"
|
||||||
|
message="For language "es" (Spanish) the following quantities are not relevant: `many`"
|
||||||
|
errorLine1=" <plurals name="settings_import_password_prompt">"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-es/strings.xml"
|
||||||
|
line="24"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="UnusedQuantity"
|
||||||
|
message="For language "fr" (French) the following quantities are not relevant: `many`"
|
||||||
|
errorLine1=" <plurals name="settings_import_password_prompt">"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-fr/strings.xml"
|
||||||
|
line="24"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="UnusedQuantity"
|
||||||
|
message="For language "it" (Italian) the following quantities are not relevant: `many`"
|
||||||
|
errorLine1=" <plurals name="settings_import_password_prompt">"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-it/strings.xml"
|
||||||
|
line="24"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="UnusedQuantity"
|
||||||
|
message="For language "pt" (Portuguese) the following quantities are not relevant: `many`"
|
||||||
|
errorLine1=" <plurals name="settings_import_password_prompt">"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-pt-rBR/strings.xml"
|
||||||
|
line="24"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="UnusedQuantity"
|
||||||
|
message="For language "pt" (Portuguese) the following quantities are not relevant: `many`"
|
||||||
|
errorLine1=" <plurals name="settings_import_password_prompt">"
|
||||||
|
errorLine2=" ^">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-pt-rPT/strings.xml"
|
||||||
|
line="24"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="StaticFieldLeak"
|
||||||
|
message="This field leaks a context object"
|
||||||
|
errorLine1=" private val context: Context,"
|
||||||
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/kotlin/app/k9mail/feature/settings/import/ui/SettingsImportViewModel.kt"
|
||||||
|
line="30"
|
||||||
|
column="5"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
<issue
|
||||||
|
id="TypographyEllipsis"
|
||||||
|
message="Replace "..." with ellipsis character (…, &#8230;) ?"
|
||||||
|
errorLine1=" <string name="settings_importing">პარამეტრების იმპორტირება...</string>"
|
||||||
|
errorLine2=" ~~~~~~~~~~~~~~~~~~~~~~~~~~~">
|
||||||
|
<location
|
||||||
|
file="src/main/res/values-ka/strings.xml"
|
||||||
|
line="6"
|
||||||
|
column="39"/>
|
||||||
|
</issue>
|
||||||
|
|
||||||
|
</issues>
|
Loading…
Reference in a new issue