-
-
Notifications
You must be signed in to change notification settings - Fork 13
Expand file tree
/
Copy path.editorconfig
More file actions
46 lines (39 loc) · 855 Bytes
/
.editorconfig
File metadata and controls
46 lines (39 loc) · 855 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
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
# EditorConfig is awesome: https://editorconfig.org
# top-most EditorConfig file
root = true
# Default settings for all files
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
insert_final_newline = true
tab_width = 2
trim_trailing_whitespace = true
# Tab indentation for Makefiles
[Makefile]
indent_style = tab
# Configuration files
[*.{json,yml,yaml}]
indent_style = space
indent_size = 2
# Lua specific settings
[*.{lua,luau,rockspec}]
indent_style = space
indent_size = 2
max_line_length = 120
# Documentation files
[*.{md,rst,txt}]
trim_trailing_whitespace = false
max_line_length = off
[*.sh]
indent_style = space
indent_size = 2
# --language-variant
shell_variant = auto
binary_next_line = true
# --case-indent
switch_case_indent = true
space_redirects = false
# --func-next-line
function_next_line = false