-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy path.editorconfig
More file actions
24 lines (20 loc) · 739 Bytes
/
.editorconfig
File metadata and controls
24 lines (20 loc) · 739 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Topmost EditorConfig file; do not look at files higher up in the directory tree
root = true
# Set default editor config for all files:
# - 4 spaces, no trailing whitespaces
# - final newline for slightly cleaner diffs when changing the last line
# - native end-of-line in case we want to open a file elsewhere, git converts to LF for non-Windows
# - use utf-8 as default
[*]
indent_size = 4
indent_style = tab
trim_trailing_whitespace = true
insert_final_newline = true
end_of_line = crlf
charset = utf-8
# Override trailing whitespace setting for Markdown since there it's actually useful
[*.{md}]
trim_trailing_whitespace = false
# Override style settings for hlsl files to make them more compact
# [*.{hlsl}]
# indent_style = tab