mirror of
https://github.com/uutils/coreutils
synced 2024-12-04 18:39:52 +00:00
build/dev ~ add EditorConfig file to suggest whitespace standards
This commit is contained in:
parent
bbb23537c2
commit
b0361c2b64
1 changed files with 24 additions and 0 deletions
24
.editorconfig
Normal file
24
.editorconfig
Normal file
|
@ -0,0 +1,24 @@
|
|||
# EditorConfig (is awesome): http://EditorConfig.org
|
||||
|
||||
# * top-most EditorConfig file
|
||||
root = true
|
||||
|
||||
# Unix-style newlines with a newline ending every file
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
indent_size = 4
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
[*.{bat,cmd,[Bb][Aa][Tt],[Cc][Mm][Dd]}]
|
||||
# DOS/Win requires BAT/CMD files to have CRLF EOLNs
|
||||
end_of_line = crlf
|
||||
|
||||
[[Mm]akefile{,.*}]
|
||||
# TAB-style indentation
|
||||
indent_style = tab
|
||||
|
||||
[*.{yml,[Yy][Mm][Ll]}]
|
||||
indent_size = 2
|
Loading…
Reference in a new issue