-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
41 lines (30 loc) · 958 Bytes
/
.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
33
34
35
36
37
38
39
40
41
root = true
[*]
indent_style = space
indent_size = 2
max_line_length = 140
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.{java,kt,kts,scala,rs,xml,kt.spec,kts.spec}]
indent_size = 4
[*.{kt,kts}]
ktlint_code_style = ktlint_official
ktlint_ignore_back_ticked_identifier = true
ktlint_standard = enabled
# Experimental rules run by default run on the ktlint code base itself. Experimental rules should not be released if
# we are not pleased ourselves with the results on the ktlint code base.
ktlint_experimental = enabled
# Don't allow any wildcard imports
ij_kotlin_packages_to_use_import_on_demand = unset
# Prevent wildcard imports
ij_kotlin_name_count_to_use_star_import = 99
ij_kotlin_name_count_to_use_star_import_for_members = 99
[*.md]
trim_trailing_whitespace = false
max_line_length = unset
[gradle/verification-metadata.xml]
indent_size = 3
[*.yml]
ij_yaml_spaces_within_brackets = false