-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
64 lines (55 loc) · 1.64 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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
# Editor configuration, see https://editorconfig.org
root = true
[*]
charset = utf-8
indent_style = space
indent_size = 2
insert_final_newline = true
trim_trailing_whitespace = true
ij_any_keep_simple_blocks_in_one_line = true
ij_any_keep_simple_classes_in_one_line = true
ij_any_keep_simple_methods_in_one_line = true
ij_any_spaces_within_brackets = false
ij_any_space_within_empty_array_initializer_braces = false
ij_any_space_within_empty_method_call_parentheses = false
ij_any_space_within_empty_method_parentheses = false
ij_any_spaces_within_braces = false
[*.java]
indent_style = tab
max_line_length = 120
ij_visual_guides = 80, 120
ij_java_continuation_indent_size = 8
ij_java_field_annotation_wrap = off
ij_java_imports_layout = $*,|,java.**,|,javax.**,|,org.**,|,*
ij_java_class_count_to_use_import_on_demand = 100
ij_java_names_count_to_use_import_on_demand = 100
[*.json]
# align with jackson output
indent_style = space
indent_size = 2
ij_json_space_before_colon = unset
ij_json_space_after_colon = true
[*.md]
ij_formatter_enabled = false
[*.sql]
ij_formatter_enabled = false
[*.ts]
indent_style = space
indent_size = 2
ij_typescript_use_double_quotes = false
ij_typescript_force_quote_style = true
ij_typescript_import_sort_members = true
ij_typescript_import_sort_module_name = true
ij_typescript_import_merge_members = true
ij_typescript_imports_wrap = off
ij_typescript_spaces_within_imports = false
[{*.yaml,*.yml}]
indent_style = space
indent_size = 2
[*.xml]
indent_style = tab
ij_xml_space_inside_empty_tag = true
ij_xml_text_wrap = off
ij_xml_attribute_wrap = off
[{**/gen/main/java/**/*.java,**/gen/test/java/**/*.java}]
ij_formatter_enabled = false