-
-
Notifications
You must be signed in to change notification settings - Fork 18
Expand file tree
/
Copy path.editorconfig
More file actions
65 lines (52 loc) · 1.47 KB
/
Copy path.editorconfig
File metadata and controls
65 lines (52 loc) · 1.47 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
63
64
65
# EditorConfig is awesome: https://EditorConfig.org
# Uses editorconfig to maintain consistent coding styles
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
tab_width = 2
trim_trailing_whitespace = true
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[*.{tf,tfvars}]
indent_style = space
indent_size = 2
[*.{bash,sh}]
indent_style = space
indent_size = 2
quote_type = ignore
[*.json]
indent_style = space
indent_size = 2
quote_type = double
[*.py]
indent_style = space
indent_size = 4
max_line_length = off
[*.md]
trim_trailing_whitespace = false
[Makefile]
tab_width = 4
indent_style = tab
[COMMIT_EDITMSG]
max_line_length = 0
# Files delivered to containers via compose `secrets:`. Consumers read the
# contents verbatim (homepage substitutes them straight into its config), so a
# final newline would become part of the credential and silently break auth.
[configs/*/secrets/*]
insert_final_newline = false
# Configuration the applications own and rewrite on shutdown. Normalizing these
# is pointless (the app overwrites it on the next run) and it fights the
# whitespace hooks, which skip the same paths in .pre-commit-config.yaml.
[configs/{calibre,qbittorrent}/config/**]
insert_final_newline = unset
end_of_line = unset
trim_trailing_whitespace = unset
[configs/nzbget/config/nzbget.conf]
insert_final_newline = unset
end_of_line = unset
trim_trailing_whitespace = unset