30 lines
590 B
INI
30 lines
590 B
INI
|
# EditorConfig is awesome: https://EditorConfig.org
|
||
|
|
||
|
# top-most EditorConfig file
|
||
|
root = true
|
||
|
|
||
|
# Default formatting Unix-style newlines with a newline ending every file
|
||
|
[*]
|
||
|
charset = utf-8
|
||
|
end_of_line = lf
|
||
|
insert_final_newline = true
|
||
|
trim_trailing_whitespace = true
|
||
|
indent_style = space
|
||
|
indent_size = 4
|
||
|
|
||
|
# do not trim trailing whitespace in markdown files
|
||
|
[*.md]
|
||
|
trim_trailing_whitespace = false
|
||
|
|
||
|
# explicit 4 space indentation
|
||
|
[*.py]
|
||
|
indent_size = 4
|
||
|
|
||
|
# explicit 2 space indentation
|
||
|
[*.{json,yml,yaml,xml,ddl,sql}]
|
||
|
indent_size = 2
|
||
|
|
||
|
# windows specific files
|
||
|
[*.{bat,cmd}]
|
||
|
end_of_line = crlf
|