!98 [perf] 增加了 EditorConfig 配置文件
Merge pull request !98 from 绫仓优希/master
This commit is contained in:
commit
7b12cedc83
|
@ -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
|
Loading…
Reference in New Issue