mirror of
https://gitee.com/fit2cloud-feizhiyun/1Panel.git
synced 2024-12-02 11:57:56 +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
|
||||
end_of_line = lf # 控制换行类型(lf | cr | crlf)
|
||||
insert_final_newline = true # 始终在文件末尾插入一个新行
|
||||
indent_style = tab # 缩进风格(tab | space)
|
||||
indent_size = 2 # 缩进大小
|
||||
max_line_length = 130 # 最大行长度
|
||||
indent_style = space # 缩进风格(tab | space)
|
||||
indent_size = 4 # 缩进大小
|
||||
max_line_length = 120 # 最大行长度
|
||||
|
||||
[*.md] # 表示仅 md 文件适用以下规则
|
||||
max_line_length = off # 关闭最大行长度限制
|
||||
|
Loading…
Reference in New Issue
Block a user