This repository has been archived by the owner on Mar 26, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
.editorconfig
123 lines (100 loc) · 2.2 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
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
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
# EditorConfig is awesome: https://EditorConfig.org
# top-most EditorConfig file
root = true
[*]
charset = utf-8
end_of_line = lf
indent_size = 4
indent_style = space
insert_final_newline = false
trim_trailing_whitespace = false
max_line_length = 120
tab_width = 4
[{*.yaml,*.yml,.clang-format,.clang-tidy,_clang-format}]
indent_size = 2
tab_width = 2
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
[*.{adoc, asc, asciidoc}]
indent_size = 4
indent_style = tab
trim_trailing_whitespace = false
insert_final_newline = false
ij_any_wrap_long_lines = true
[*.{md,markdown,mkd}]
# double whitespace at end of line
# denotes a line break in Markdown
indent_size = 4
indent_style = tab
trim_trailing_whitespace = false
insert_final_newline = false
[*.{h,hh,hpp,hxx,c,cc,cpp,cxx,inl,ixx,mxx,cppm}]
indent_size = 4
indent_style = space
tab_width = 4
[*.go]
indent_size = 4
indent_style = tab
[go.{sum,mod,work}]
indent_style = tab
indent_size = 4
[*.rb]
indent_size = 4
indent_style = tab
[Vagrantfile]
indent_size = 4
indent_style = tab
[{*.har,*.jsb2,*.jsb3,*.json,.babelrc,.eslintrc,.stylelintrc,bowerrc,jest.config}]
indent_size = 2
indent_style = space
tab_width = 2
[CMakeLists.txt]
indent_style = tab
indent_size = 4
[Makefile]
indent_style = tab
indent_size = 4
[*.{Makefile,mak,mk,make,cmake}]
indent_style = tab
indent_size = 4
[*.{sh,bash,zsh,fish}]
indent_size = 2
indent_style = tab
tab_width = 2
trim_trailing_whitespace = false
insert_final_newline = false
[{.zshrc,.zprofile,.zshenv,zshrc,zprofile,zshenv}]
indent_size = 2
indent_style = tab
tab_width = 2
trim_trailing_whitespace = false
insert_final_newline = false
[{.env,.env.local,installer,bash.config,ops}]
indent_size = 2
indent_style = tab
tab_width = 2
trim_trailing_whitespace = false
insert_final_newline = false
[*.toml]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
insert_final_newline = true
[*.{js,jsx}]
indent_size = 2
indent_style = space
[*.{S,s,ASM,asm,gas,mac,inc}]
indent_size = 4
indent_style = tab
[*.rs]
indent_style = tab
indent_size = 4
[*.{l,ll,lex,y,yy,yacc}]
indent_style = tab
indent_size = 4
[*.g4]
end_of_line = lf
trim_trailing_whitespace = true
indent_style = space
indent_size = 4