Updated from org.jlleitschuh.gradlektlint gradle9.2.1 to 9.4.0 and now I'm getting hundreds of these kinds of errors
Copy code
filea.kt:266:21: Unexpected indentation (expected 16, actual 20)
fileb.kt:267:17: Unexpected indentation (expected 12, actual 16)
filec.kt:281:21: Unexpected indentation (expected 16, actual 20)
filed.kt:282:17: Unexpected indentation (expected 12, actual 16)
What's the easiest way to resolve all of these?
I'm assuming it either
Opt out
or
Auto format via
./gradlew ktlintFormat
or intellij?
Note: I'm using editorConfig (Not sure if that changes things)
I tried auto formatting view ktlint and via intellij to no avail. Am I missing something?