We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
ktlint version: 0.29.0
source file Test.kt:
Test.kt
class Test { val t = "test" fun testF() { println("test") } }
.editorconfig:
.editorconfig
root = true [*] indent_style = space indent_size = 2 end_of_line = lf charset = utf-8 trim_trailing_whitespace = true insert_final_newline = true
command run: ./ktlint -F -y --debug Test.kt:
./ktlint -F -y --debug Test.kt
[DEBUG] Discovered ruleset "standard" [DEBUG] Discovered reporter "plain" [DEBUG] Discovered reporter "json" [DEBUG] Discovered reporter "checkstyle" [DEBUG] Initializing "plain" reporter with {verbose=false, color=false} [DEBUG] Checking CUT_PROJECT_PATH/Test.kt [DEBUG] Discovered .editorconfig (CUT_PROJECT_PATH) {charset=utf-8, end_of_line=lf, indent_size=2, indent_style=space, insert_final_newline=true, trim_trailing_whitespace=true} [DEBUG] 1512ms / 1 file(s) / 0 error(s)
actual result: no changes expected result:
The text was updated successfully, but these errors were encountered:
./ktlint --debug Test.kt does not produce errors.
./ktlint --debug Test.kt
Sorry, something went wrong.
This is something @iboss-ptk is working on. Track progress in #294.
Moved to #338.
No branches or pull requests
ktlint version: 0.29.0
source file
Test.kt
:.editorconfig
:command run:
./ktlint -F -y --debug Test.kt
:actual result: no changes
expected result:
The text was updated successfully, but these errors were encountered: