-
Notifications
You must be signed in to change notification settings - Fork 463
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
Can not create an EditorConfigOverride without properties. Use 'emptyEditorConfigOverride' instead. #1374
Comments
Same issue here, the only difference is that I'm using Gradle 7.3.0 |
same thing here when trying to se
I get the following error:
|
I did some digging, for the line length, the property needs to be snake case: As for |
This should be fixed in the next release of ktlint, 0.48.0. PR that fixes it: pinterest/ktlint#1671 However, support for 0.47.x here in spotless would be great! |
@tcrawford-figure Adjusted my PR so it's fixed for 0.47.x, let me know what you think. |
Fixed in |
kotlin {
ktlint("0.47.1")
.setUseExperimental(true)
.editorConfigOverride([ 'max-line-length': 120, 'wrapping': false])
}
Can not create an EditorConfigOverride without properties. Use 'emptyEditorConfigOverride' instead.
When i add
'indent_size': 2
to editorConfigOverride, android studio build success.The text was updated successfully, but these errors were encountered: