mirror of
https://github.com/1Panel-dev/1Panel.git
synced 2024-11-27 12:39:01 +08:00
chore: 编辑器统一代码风格和 prettier 风格保持一致 (#5656)
This commit is contained in:
parent
a8842c806c
commit
5426c4ea68
@ -6,9 +6,9 @@ root = true
|
|||||||
charset = utf-8 # 设置文件字符集为 utf-8
|
charset = utf-8 # 设置文件字符集为 utf-8
|
||||||
end_of_line = lf # 控制换行类型(lf | cr | crlf)
|
end_of_line = lf # 控制换行类型(lf | cr | crlf)
|
||||||
insert_final_newline = true # 始终在文件末尾插入一个新行
|
insert_final_newline = true # 始终在文件末尾插入一个新行
|
||||||
indent_style = tab # 缩进风格(tab | space)
|
indent_style = space # 缩进风格(tab | space)
|
||||||
indent_size = 2 # 缩进大小
|
indent_size = 4 # 缩进大小
|
||||||
max_line_length = 130 # 最大行长度
|
max_line_length = 120 # 最大行长度
|
||||||
|
|
||||||
[*.md] # 表示仅 md 文件适用以下规则
|
[*.md] # 表示仅 md 文件适用以下规则
|
||||||
max_line_length = off # 关闭最大行长度限制
|
max_line_length = off # 关闭最大行长度限制
|
||||||
|
Loading…
Reference in New Issue
Block a user