feat: project init
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
# 告訴 EditorConfig 這是最頂層的設定檔,不要再往上找
|
||||
root = true
|
||||
|
||||
[*]
|
||||
# 編碼格式
|
||||
charset = utf-8
|
||||
# 換行符號 (Linux/Mac 建議用 lf,這對教育系統部署到 Linux Server 很重要)
|
||||
end_of_line = lf
|
||||
# 是否在檔案結尾插入新行
|
||||
insert_final_newline = true
|
||||
# 縮排風格 (空格或 Tab)
|
||||
indent_style = space
|
||||
# 縮排大小
|
||||
indent_size = 2
|
||||
# 自動刪除行尾多餘空白
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.md]
|
||||
# Markdown 檔案有時需要行尾空白來代表換行,所以關閉它
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[package.json]
|
||||
# 有些人喜歡 JSON 用 2 個空格,保持一致
|
||||
indent_size = 2
|
||||
Reference in New Issue
Block a user