You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
# https://editorconfig.org
|
|
|
|
|
root = true
|
|
|
|
|
|
|
|
|
|
[*] # 标识针对所有文件
|
|
|
|
|
charset = utf-8
|
|
|
|
|
indent_style = space # 缩进风格(tab | space)
|
|
|
|
|
indent_size = 2 # 缩进大小
|
|
|
|
|
end_of_line = lf # 换行符
|
|
|
|
|
insert_final_newline = true # 始终在文件末尾插入一个新行
|
|
|
|
|
trim_trailing_whitespace = true # 删除文件中换行符之前的所有空白字符
|
|
|
|
|
|
|
|
|
|
[*.md] # 标识针对 md 文件
|
|
|
|
|
insert_final_newline = false
|
|
|
|
|
trim_trailing_whitespace = false
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
[*.{js,ts,jsx,tsx,html}]
|
|
|
|
|
semicolon=false
|
|
|
|
|
ij_javascript_use_double_quotes = false
|
|
|
|
|
ij_typescript_use_double_quotes = false
|
|
|
|
|
ij_any_space_inside_empty_tag = true
|
|
|
|
|
ij_html_space_inside_empty_tag = true
|
|
|
|
|
ij_any_line_comment_add_space = true
|
|
|
|
|
ij_javascript_spaces_within_object_literal_braces = true
|
|
|
|
|
ij_typescript_spaces_within_object_literal_braces = true
|
|
|
|
|
ij_javascript_spaces_within_type_literal_braces = true
|
|
|
|
|
ij_typescript_spaces_within_type_literal_braces = true
|
|
|
|
|
ij_typescript_spaces_within_imports = true
|