-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
50 lines (43 loc) · 908 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
# https://editorconfig.org
# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties
# indicate top-most editorconfig file
root = true
# universal rules
[*]
charset = utf-8
continuation_indent_size = 2
curly_bracket_next_line = false
end_of_line = lf
indent_brace_style = BSD
indent_size = 2
indent_style = space
insert_final_newline = true
max_line_length = 80
quote_type = single
spaces_around_brackets = inside
spaces_around_operators = true
tab_width = 2
trim_trailing_whitespace = true
# markdown
[{*.md,*.mdx}]
max_line_length = 120
# shellscript
[*.sh]
binary_next_line = true
function_next_line = false
keep_comments = true
keep_padding = false
max_line_length = 100
shell_variant = 0
space_redirects = false
switch_case_indent = true
# snapshots
[*.snap]
max_line_length = 130
# xml
[*.xml]
max_line_length = 100
# yaml
[{*.yaml,*.yml}]
max_line_length = 100