mirror of
https://gitee.com/mybatis-flex/mybatis-flex.git
synced 2025-12-07 00:58:24 +08:00
style: add .editorconfig
This commit is contained in:
parent
e0dea23822
commit
28ebaacb7e
19
.editorconfig
Normal file
19
.editorconfig
Normal file
@ -0,0 +1,19 @@
|
|||||||
|
|
||||||
|
# 告诉EditorConfig插件,这是根文件,不用继续往上查找
|
||||||
|
root = true
|
||||||
|
|
||||||
|
# 匹配全部文件
|
||||||
|
[*]
|
||||||
|
# 结尾换行符,可选"lf"、"cr"、"crlf"
|
||||||
|
end_of_line = lf
|
||||||
|
# 在文件结尾插入新行
|
||||||
|
insert_final_newline = true
|
||||||
|
# 删除一行中的前后空格
|
||||||
|
trim_trailing_whitespace = true
|
||||||
|
# 设置字符集
|
||||||
|
charset = utf-8
|
||||||
|
# 缩进风格,可选"space"、"tab"
|
||||||
|
indent_style = tab
|
||||||
|
# 缩进的空格数
|
||||||
|
indent_size = 4
|
||||||
|
|
||||||
Loading…
x
Reference in New Issue
Block a user