Skip to content

Commit

Permalink
editorconfig: add editor config
Browse files Browse the repository at this point in the history
  • Loading branch information
ShuN6211 committed Sep 28, 2024
1 parent 7c483a8 commit 2e22fc1
Showing 1 changed file with 30 additions and 0 deletions.
30 changes: 30 additions & 0 deletions .editorconfig
Original file line number Diff line number Diff line change
@@ -0,0 +1,30 @@
root = true

[*]
indent_style = space
indent_size = 4
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true

[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false

[*.json]
indent_style = space
indent_size = 2

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

[*.lua]
indent_style = space
indent_size = 2

[.*rc]
indent_style = space
indent_size = 2

0 comments on commit 2e22fc1

Please sign in to comment.