Skip to content

Commit

Permalink
Toggle ktlint rules (#401)
Browse files Browse the repository at this point in the history
  • Loading branch information
mateuszkwiecinski authored Aug 5, 2022
1 parent 5a80c26 commit 5288f34
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ internal fun Project.configureKtlint() {
extensions.configure(KotlinterExtension::class.java) {
it.experimentalRules = true
it.reporters = emptyArray()
it.disabledRules = arrayOf("import-ordering", "experimental:argument-list-wrapping", "experimental:trailing-comma")
it.disabledRules += arrayOf("import-ordering", "filename", "experimental:function-signature")
}

tasks.named(ProjectCodeStyleTask.TASK_NAME) {
Expand Down

0 comments on commit 5288f34

Please sign in to comment.