summaryrefslogtreecommitdiff
path: root/.editorconfig
blob: e97aa0716e67a6c0f5b1e9f46f45f56348cc9056 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[*.{kt,kts}]
indent_size = 4
max_line_length = 100
trim_trailing_whitespace = true
insert_final_newline = true
ij_kotlin_imports_layout=*

# Comma-separated list of rules to disable
# ktlint disagrees on indentation with ktfmt in some cases
# TODO(b/185904220): paren spacing disabled because of a ktfmt bug
# TODO(b/189506168): curly spacing disabled because of a ktfmt bug
disabled_rules=indent,paren-spacing,curly-spacing,wrapping