update editor settings
This commit is contained in:
@@ -0,0 +1,38 @@
|
||||
# ~/.editorconfig
|
||||
|
||||
root = true
|
||||
|
||||
# Default for all files
|
||||
[*]
|
||||
charset = utf-8
|
||||
end_of_line = lf
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# Shell scripts: 2 spaces, no tabs
|
||||
[*.sh]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.bash]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.bats]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
|
||||
[*.cmd]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
end_of_line = crlf
|
||||
|
||||
[*.bat]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
end_of_line = crlf
|
||||
|
||||
# Also apply to Makefile if you want (optional)
|
||||
[Makefile]
|
||||
indent_style = tab
|
||||
indent_size = 4
|
||||
Reference in New Issue
Block a user