add EditorConfig file

This commit is contained in:
0x5c 2024-02-18 01:30:53 -05:00 committed by classabbyamp
parent e4eaa8a5c5
commit c6a96c3a08
2 changed files with 23 additions and 0 deletions

22
.editorconfig Normal file
View File

@ -0,0 +1,22 @@
root = true
[*]
indent_style = tab
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
[*.md]
indent_size = 4
indent_style = space
[*.{yml,yaml}]
indent_size = 2
indent_style = space
[*.{patch,diff}]
indent_style = unset
end_of_line = unset
charset = unset
trim_trailing_whitespace = unset

1
.gitignore vendored
View File

@ -5,6 +5,7 @@
# exclude everything in root except files and directories from void-packages # exclude everything in root except files and directories from void-packages
/* /*
!/.editorconfig
!/.gitattributes !/.gitattributes
!/.github !/.github
!/.gitignore !/.gitignore