Skip to content

Commit

Permalink
chore: 使用editor config配置默认保存行为
Browse files Browse the repository at this point in the history
  • Loading branch information
BearBin1215 committed Mar 7, 2024
1 parent 7e08bb6 commit c368cf3
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,16 @@
# http://editorconfig.org
# 配合editorconfig扩展使用
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf

[*.{js}]
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.{yml,yaml,md}]
indent_size = 2

0 comments on commit c368cf3

Please sign in to comment.