Skip to content

Commit

Permalink
Replace disabled_rules with ktlint_disabled_rules
Browse files Browse the repository at this point in the history
  • Loading branch information
auguwu committed Dec 17, 2022
1 parent 26b76aa commit facaa0d
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions buildSrc/src/main/kotlin/hazel-module.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -78,10 +78,7 @@ spotless {
.setUseExperimental(true)
.editorConfigOverride(mapOf(
"indent_size" to "4",

// Using `ktlint_disabled_rules` doesn't work for some reason! We need to check why
// though, which is tricky. :(
"disabled_rules" to "colon-spacing,annotation-spacing,filename,no-wildcard-imports,argument-list-wrapping",
"ktlint_disabled_rules" to "colon-spacing,annotation-spacing,filename,no-wildcard-imports,argument-list-wrapping",
"ij_kotlin_allow_trailing_comma" to "false",
"ktlint_code_style" to "official",
"no-unused-imports" to "true",
Expand Down

0 comments on commit facaa0d

Please sign in to comment.