-
Notifications
You must be signed in to change notification settings - Fork 5
/
.editorconfig
50 lines (39 loc) · 868 Bytes
/
.editorconfig
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
47
48
49
50
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
indent_style = space
indent_size = 2
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
max_line_length = 80
[*.md]
indent_style = space
indent_size = 4
max_line_length = 0
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[*.json]
indent_style = space
indent_size = 2
insert_final_newline = false
[COMMIT_EDITMSG]
max_line_length = 0
[{Makefile, makefile, GNUmakefile, Makefile.*}]
indent_style = tab
indent_size = 4
[*.sh]
indent_style = space
indent_size = 4
[*.{ps1,psm1,psd1}]
indent_style = space
indent_size = 4
# Black/Ruff has its own set of formatting rules and defaults, which will re-format the code after .editorconfig is applied
[*.py]
indent_size = 4
max_line_length = 88
[*.{tf,tfvars,hcl}]
indent_style = space
indent_size = 2