Created
December 24, 2022 23:26
-
-
Save sphrak/46e4c28d57eae0c7708803671dd9fb59 to your computer and use it in GitHub Desktop.
ktlint
This file contains 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=4 | |
# true (recommended) / false | |
insert_final_newline=false | |
# 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=off | |
ktlint_standard_no-empty-first-line-in-method-block=disabled | |
ktlint_standard_trailing-comma-on-declaration-site=disabled | |
ktlint_standard_trailing-comma-on-call-site=disabled |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment