forked from Consensys/linea-monorepo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
32 lines (27 loc) · 1 KB
/
.editorconfig
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
# top-most EditorConfig file
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
max_line_length=120
insert_final_newline = true
trim_trailing_whitespace = true
[*.{kt,kts}]
ij_kotlin_code_style_defaults = KOTLIN_OFFICIAL
ij_kotlin_name_count_to_use_star_import = 2147483647
ij_kotlin_name_count_to_use_star_import_for_members = 2147483647
ij_kotlin_packages_to_use_import_on_demand = unset
[*.go]
indent_style = tab
indent_size = tab
# line bellow should be like "[*.{kt,kts}]" if your editor adds spaces, it will break...
# https://github.com/pinterest/ktlint#intellij-idea-editorconfig-autoformat-issue
# [*.{kt,kts}]
# possible values: number (e.g. 2), "unset" (makes ktlint ignore indentation completely)
# indent_size=2
# insert_final_newline=true # true (recommended) / 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=120