2
0
mirror of https://github.com/fork-maintainers/iceraven-browser synced 2024-11-03 23:15:31 +00:00

For #26844: Add ktlint baseline.

This commit is contained in:
mcarare 2022-09-07 09:36:07 +03:00 committed by mergify[bot]
parent 9490fdff71
commit 481b3655ac
2 changed files with 8664 additions and 2 deletions

View File

@ -210,14 +210,14 @@ tasks.register('ktlint', JavaExec) {
description = "Check Kotlin code style."
classpath = configurations.ktlint
main = "com.pinterest.ktlint.Main"
args "app/src/**/*.kt", "!**/build/**/*.kt"
args "app/src/**/*.kt", "!**/build/**/*.kt", "--baseline=ktlint-baseline.xml"
}
task ktlintFormat(type: JavaExec, group: "formatting") {
description = "Fix Kotlin code style deviations."
classpath = configurations.ktlint
main = "com.pinterest.ktlint.Main"
args "-F", "app/src/**/*.kt", "!**/build/**/*.kt"
args "-F", "app/src/**/*.kt", "!**/build/**/*.kt", "--baseline=ktlint-baseline.xml"
}
tasks.withType(io.gitlab.arturbosch.detekt.Detekt.class).configureEach {

8662
ktlint-baseline.xml Normal file

File diff suppressed because it is too large Load Diff