generated from tooniez/devcontainer-base
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
62 lines (50 loc) · 1.01 KB
/
.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
51
52
53
54
55
56
57
58
59
60
61
62
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
#### Core EditorConfig Options ####
# All files
[*]
indent_style = space
charset = utf-8
# Indentation and spacing
indent_size = 4
tab_width = 4
trim_trailing_whitespace = true
# New line preferences
end_of_line = crlf
insert_final_newline = true
# Xml files
[*.xml]
indent_size = 2
[*.{json,yaml,yml}]
indent_size = 2
# JavaScript and TypeScript files
[*.{js,ts}]
indent_style = space
indent_size = 4
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
# Python files
[*.{py,pypy,pyx}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
max_line_length = 88
# JSON files
[*.json]
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
# YAML files
[*.{yaml,yml}]
indent_style = space
indent_size = 2
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
[*]
max_line_length = 120