2023-09-04 10:04:56 +08:00
|
|
|
root = true
|
|
|
|
|
|
|
|
[*]
|
2023-09-04 10:25:18 +08:00
|
|
|
# EditorConfig 标准配置项
|
2023-09-04 10:04:56 +08:00
|
|
|
charset = utf-8
|
|
|
|
indent_size = 2
|
|
|
|
indent_style = space
|
|
|
|
tab_width = 2
|
|
|
|
insert_final_newline = true
|
|
|
|
end_of_line = lf
|
|
|
|
trim_trailing_whitespace = true
|
|
|
|
max_line_length = off
|
2023-09-04 10:25:18 +08:00
|
|
|
|
|
|
|
# IntelliJ 系列配置项
|
|
|
|
ij_any_space_before_colon = true
|
|
|
|
ij_any_space_after_colon = true
|
2023-09-04 10:45:59 +08:00
|
|
|
ij_any_keep_indents_on_empty_lines = false
|
2023-09-04 10:40:44 +08:00
|
|
|
ij_javascript_use_semicolon_after_statement = false
|
2023-09-04 10:25:18 +08:00
|
|
|
ij_javascript_use_double_quotes = false
|
2023-09-04 10:40:44 +08:00
|
|
|
ij_javascript_enforce_trailing_comma = keep
|
2023-09-04 10:45:59 +08:00
|
|
|
ij_typescript_use_semicolon_after_statement = false
|
|
|
|
ij_typescript_use_double_quotes = false
|
2023-09-04 10:40:44 +08:00
|
|
|
ij_typescript_enforce_trailing_comma = keep
|
|
|
|
|
|
|
|
[*.json]
|
|
|
|
ij_any_space_before_colon = false
|
|
|
|
ij_json_keep_trailing_comma = false
|