mirror of
https://github.com/msfjarvis/compose-lobsters
synced 2025-08-14 18:47:03 +05:30
feat(build): rework Lint config
- Export SARIF output - Expand enabled ruleset - Make HTML reports more detailed
This commit is contained in:
parent
009744cb47
commit
468d363c65
1 changed files with 10 additions and 0 deletions
|
@ -70,9 +70,19 @@ class AndroidCommonPlugin : Plugin<Project> {
|
|||
}
|
||||
|
||||
private fun Lint.configureLint(project: Project) {
|
||||
quiet = project.providers.environmentVariable("CI").isPresent
|
||||
abortOnError = true
|
||||
checkReleaseBuilds = true
|
||||
warningsAsErrors = true
|
||||
ignoreWarnings = false
|
||||
checkAllWarnings = true
|
||||
noLines = false
|
||||
showAll = true
|
||||
explainIssues = true
|
||||
textReport = false
|
||||
xmlReport = false
|
||||
htmlReport = true
|
||||
sarifReport = true
|
||||
enable += "ComposeM2Api"
|
||||
error += "ComposeM2Api"
|
||||
baseline = project.file("lint-baseline.xml")
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue