Spaces:
Paused
Paused
ci(editorconfig): setup
Browse files- .editorconfig +48 -0
.editorconfig
ADDED
@@ -0,0 +1,48 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
1 |
+
# https://editorconfig.org
|
2 |
+
root = true
|
3 |
+
|
4 |
+
[*]
|
5 |
+
charset = utf-8
|
6 |
+
end_of_line = lf
|
7 |
+
indent_size = 2
|
8 |
+
indent_style = space
|
9 |
+
insert_final_newline = true
|
10 |
+
max_line_length = 120
|
11 |
+
trim_trailing_whitespace = true
|
12 |
+
|
13 |
+
[*.md]
|
14 |
+
max_line_length = 0
|
15 |
+
trim_trailing_whitespace = false
|
16 |
+
|
17 |
+
[*.{c,cpp,h,hpp}]
|
18 |
+
indent_size = 4
|
19 |
+
|
20 |
+
[*.ps1]
|
21 |
+
indent_size = 4
|
22 |
+
|
23 |
+
[*.py]
|
24 |
+
indent_size = 4
|
25 |
+
|
26 |
+
[*.rs]
|
27 |
+
indent_size = 4
|
28 |
+
max_line_length = 80
|
29 |
+
|
30 |
+
[*.xml]
|
31 |
+
trim_trailing_whitespace = false
|
32 |
+
|
33 |
+
[COMMIT_EDITMSG]
|
34 |
+
max_line_length = 0
|
35 |
+
|
36 |
+
[Makefile]
|
37 |
+
indent_size = 8
|
38 |
+
indent_style = tab
|
39 |
+
max_line_length = 80
|
40 |
+
|
41 |
+
# Ignored files
|
42 |
+
[*.{asc,cer,crt,der,key,pem}]
|
43 |
+
charset = unset
|
44 |
+
end_of_line = unset
|
45 |
+
insert_final_newline = unset
|
46 |
+
trim_trailing_whitespace = unset
|
47 |
+
indent_style = unset
|
48 |
+
indent_size = unset
|