You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This code should print Function body should be replaced with body expression (standard:function-expression-body) when use ktlint.
When i set ktlint_standard_function-expression-body = enabled to my .editorconfig, it doesn't work when I do ./gradlew ktlintcheck.
But it works with commend ktlint --editorconfig=./.editorconfig(with official library)
Is there any reason you can think of? For example, it might be conflicting with another setting, or a specific version is not supported yet.
The text was updated successfully, but these errors were encountered:
my versions : java: 17, gradle: 8.10, kotlin: 1.7, ktlint-gradle: 12.1.1, ktlint: 1.3.1
This code should print
Function body should be replaced with body expression (standard:function-expression-body)
when use ktlint.When i set
ktlint_standard_function-expression-body = enabled
to my .editorconfig, it doesn't work when I do./gradlew ktlintcheck
.But it works with commend
ktlint --editorconfig=./.editorconfig
(with official library)Is there any reason you can think of? For example, it might be conflicting with another setting, or a specific version is not supported yet.
The text was updated successfully, but these errors were encountered: