-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.editorconfig
80 lines (65 loc) · 1.26 KB
/
.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
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
# This is the highest level config
root = true
# Default settings
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
max_line_length = 120
trim_trailing_whitespace = true
# Git commit messages
[COMMIT_EDITMSG]
max_line_length = 72
# Git merge messages
[MERGE_MSG]
max_line_length = 72
# Git tag messages
[TAG_EDITMSG]
max_line_length = 72
# Terraform files
[*.tf]
max_line_length = unset
[*.tftpl]
max_line_length = unset
# Markdown files
[*.md]
max_line_length = unset
# YAML files
[*.yml]
max_line_length = 160
# YAML files
[*.yaml]
max_line_length = 160
# json files
[*.json]
max_line_length = unset
# Shell scripts
[*.sh]
indent_style = space
indent_size = 4
shell_variant = bash
binary_next_line = true
switch_case_indent = true
space_redirects = false
keep_padding = false
function_next_line = false
# Should be kept same as *.sh above
[scripts/*]
indent_style = space
indent_size = 4
shell_variant = bash
binary_next_line = true
switch_case_indent = true
space_redirects = false
keep_padding = false
function_next_line = false
# github workflow files
[.github/workflows/*.yml]
max_line_length = unset
# github action files
[.github/actions/*/action.yml]
max_line_length = unset
# jinja files can be long
[*.j2]
max_line_length = unset