mirror of
https://github.com/CivMC/Civ.git
synced 2026-07-18 00:20:44 +00:00
Editorconfig updated to reflect civmc style guides.
This commit is contained in:
@@ -12,14 +12,47 @@ end_of_line = lf
|
||||
insert_final_newline = true
|
||||
continuation_indent_size = 8
|
||||
|
||||
ij_continuation_indent_size = 4
|
||||
ij_formatter_off_tag = @formatter:off
|
||||
ij_formatter_on_tag = @formatter:on
|
||||
ij_formatter_tags_enabled = false
|
||||
ij_smart_tabs = false
|
||||
ij_wrap_on_typing = false
|
||||
ij_java_blank_lines_after_imports = 1
|
||||
ij_java_blank_lines_after_package = 1
|
||||
ij_java_blank_lines_after_anonymous_class_header = 0
|
||||
ij_java_blank_lines_after_class_header = 1
|
||||
ij_java_blank_lines_before_imports = 1
|
||||
ij_java_class_count_to_use_import_on_demand = 999
|
||||
ij_java_imports_layout = $*,|,*
|
||||
ij_java_layout_static_imports_separately = true
|
||||
ij_java_names_count_to_use_import_on_demand = 999
|
||||
ij_java_use_single_class_imports = true
|
||||
|
||||
[*.java]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
ij_java_imports_layout =
|
||||
|
||||
[*.xml]
|
||||
indent_style = tab
|
||||
indent_size = 2
|
||||
|
||||
[*.yml]
|
||||
[*.{xml, yml}]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.csv]
|
||||
insert_final_newline = false
|
||||
|
||||
[*.md]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.{cmd,bat}]
|
||||
end_of_line = crlf
|
||||
|
||||
[*.sh]
|
||||
end_of_line = lf
|
||||
|
||||
|
||||
[*.properties]
|
||||
ij_properties_align_group_field_declarations = false
|
||||
ij_properties_keep_blank_lines = false
|
||||
ij_properties_key_value_delimiter = equals
|
||||
ij_properties_spaces_around_key_value_delimiter = false
|
||||
|
||||
Reference in New Issue
Block a user