forked from Ven0m0/dot-termux
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.editorconfig
More file actions
62 lines (50 loc) · 1.02 KB
/
Copy path.editorconfig
File metadata and controls
62 lines (50 loc) · 1.02 KB
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
# EditorConfig: https://editorconfig.org
root = true
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
indent_style = space
indent_size = 2
tab_width = 2
max_line_length = 80
spaces_around_operators = true
spaces_around_brackets = false
quote_type = auto
spelling_language = en
# shfmt
shell_variant = auto
keep_padding = false
space_redirects = false
switch_case_indent = false
function_next_line = false
binary_next_line = true
# Shell
[**.{sh,bash*},bash_*,PKGBUILD]
shell_variant = bash
[.profile,**.dash]
shell_variant = posix
[**.{fish,fish_*,fishd.*}]
indent_size = 4
[**.{bat,cmd}]
indent_style = tab
indent_size = 4
# Text
[**.{md,patch,rst}]
trim_trailing_whitespace = false
[**.md]
max_line_length = 140
[**.{yml,yaml}]
max_line_length = 120
[**.xml]
indent_size = 4
# Code
[Makefile,go.mod,go.sum,.gitmodules,**.{mk,go,rs,zig}]
indent_style = tab
indent_size = 4
[**.{py,pyw,pyi}]
indent_size = 4
max_line_length = 120
[**.{js,mjs,cjs,jsx,ts,mts,cts,tsx}]
quote_type = single