-
-
Notifications
You must be signed in to change notification settings - Fork 7
Expand file tree
/
Copy path.editorconfig
More file actions
102 lines (73 loc) · 1.81 KB
/
.editorconfig
File metadata and controls
102 lines (73 loc) · 1.81 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
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
# SPDX-FileCopyrightText: NONE
# SPDX-License-Identifier: CC0-1.0
root = true
[*]
charset = utf-8
end_of_line = lf
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 99
quote_type = single
curly_bracket_next_line = true
shell_variant = posix
switch_case_indent = true
space_redirects = true
function_next_line = true
[*.{yml,yaml,rst,md,json}]
quote_type = double
[*.{sh,xml,toml,license,dat,txt,yml,gradle}]
max_line_length = 265 # ToDO: try to reduce to 99
[recovery-simulator/override/*]
max_line_length = 150 # ToDO: try to reduce to 99
[*.py]
indent_size = 4
quote_type = double
max_line_length = 80
[*.{rst,js,mjs}]
max_line_length = 80
[*.rst]
indent_size = 3
[{Makefile,.tgitconfig}]
indent_style = tab
[*.gpg]
insert_final_newline = unset
[*.bat]
end_of_line = crlf
[*.{xml,json,gradle}]
indent_size = 4
[zip-content/customize.sh]
keep_padding = true
[.git-hooks/*]
shell_variant = bash
[recovery-simulator/recovery.sh]
shell_variant = bash
# Links cannot be shortened
[README.rst]
max_line_length = off
# Long lines cannot be avoided
[{.mailmap,allowed_signers,conf-2.sh,docs/CONTRIBUTORS.md}]
max_line_length = off
# Long lines cannot be avoided
[zip-content/origin/etc/org.fdroid.fdroid/additional_repos.xml]
max_line_length = off
# Long lines cannot be avoided
[utils/test-files/Getprop-EMU-Pixel 4 API 33.txt]
max_line_length = off
# Licenses
[LICENSES/*.txt]
indent_style = unset
max_line_length = off
# Man pages
[tools/win/man/cat1/*.1]
indent_style = unset
# Skin binaries
[*.{apk,bin,exe,gz,jar,zip}]
ignore = true
[{cache,output,gradlew,gradlew.bat}]
ignore = true
[{.git,.gradle,.local,.ash_history,.bash_history}]
ignore = true
[{.git-hooks/post-checkout,.git-hooks/post-commit,.git-hooks/post-merge,.git-hooks/pre-push}]
ignore = true