!98 [perf] 增加了 EditorConfig 配置文件

Merge pull request !98 from 绫仓优希/master
This commit is contained in:
Kokomi 2023-09-04 03:21:25 +00:00 committed by Gitee
commit 7b12cedc83
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
1 changed files with 27 additions and 0 deletions

27
.editorconfig Normal file
View File

@ -0,0 +1,27 @@
root = true
[*]
# EditorConfig 标准配置项
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
# IntelliJ 系列配置项
ij_any_space_before_colon = true
ij_any_space_after_colon = true
ij_any_keep_indents_on_empty_lines = false
ij_javascript_use_semicolon_after_statement = false
ij_javascript_use_double_quotes = false
ij_javascript_enforce_trailing_comma = keep
ij_typescript_use_semicolon_after_statement = false
ij_typescript_use_double_quotes = false
ij_typescript_enforce_trailing_comma = keep
[*.json]
ij_any_space_before_colon = false
ij_json_keep_trailing_comma = false