Last active
January 17, 2019 10:25
-
-
Save talenguyen/85b416b7457a27b7d0dc4af2ef1b4dbe to your computer and use it in GitHub Desktop.
My .editorconfig for ktlint
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[*.{kt,kts}] | |
# possible values: number (e.g. 2), "unset" (makes ktlint ignore indentation completely) | |
indent_size=2 | |
# possible values: number (e.g. 2), "unset" | |
continuation_indent_size=4 | |
# true (recommended) / false | |
insert_final_newline=true | |
# possible values: number (e.g. 120) (package name, imports & comments are ignored), "off" | |
# it's automatically set to 100 on `ktlint --android ...` (per Android Kotlin Style Guide) | |
max_line_length=100 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment