add EditorConfig file
This commit is contained in:
parent
e4eaa8a5c5
commit
c6a96c3a08
|
@ -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
|
|
@ -5,6 +5,7 @@
|
|||
|
||||
# exclude everything in root except files and directories from void-packages
|
||||
/*
|
||||
!/.editorconfig
|
||||
!/.gitattributes
|
||||
!/.github
|
||||
!/.gitignore
|
||||
|
|
Loading…
Reference in New Issue