-
-
Notifications
You must be signed in to change notification settings - Fork 511
/
.editorconfig
181 lines (144 loc) · 3.57 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
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
#/
# @license Apache-2.0
#
# Copyright (c) 2017 The Stdlib Authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#/
# EditorConfig configuration file (see <http://editorconfig.org/>).
# Indicate that this file is a root-level configuration file:
root = true
# Set properties for all files:
[*]
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# Set properties for JavaScript files:
[*.{js,js.txt}]
indent_style = tab
# Set properties for JavaScript ES module files:
[*.{mjs,mjs.txt}]
indent_style = tab
# Set properties for JavaScript CommonJS files:
[*.{cjs,cjs.txt}]
indent_style = tab
# Set properties for JSON files:
[*.{json,json.txt}]
indent_style = space
indent_size = 2
# Set properties for `cli_opts.json` files:
[cli_opts.json]
indent_style = tab
# Set properties for TypeScript files:
[*.ts]
indent_style = tab
# Set properties for Python files:
[*.{py,py.txt}]
indent_style = space
indent_size = 4
# Set properties for Julia files:
[*.{jl,jl.txt}]
indent_style = tab
# Set properties for R files:
[*.{R,R.txt}]
indent_style = tab
# Set properties for C files:
[*.{c,c.txt}]
indent_style = tab
# Set properties for C header files:
[*.{h,h.txt}]
indent_style = tab
# Set properties for C++ files:
[*.{cpp,cpp.txt}]
indent_style = tab
# Set properties for C++ header files:
[*.{hpp,hpp.txt}]
indent_style = tab
# Set properties for Fortran files:
[*.{f,f.txt}]
indent_style = space
indent_size = 2
insert_final_newline = false
# Set properties for shell files:
[*.{sh,sh.txt}]
indent_style = tab
# Set properties for AWK files:
[*.{awk,awk.txt}]
indent_style = tab
# Set properties for HTML files:
[*.{html,html.txt}]
indent_style = tab
tab_width = 2
# Set properties for XML files:
[*.{xml,xml.txt}]
indent_style = tab
tab_width = 2
# Set properties for CSS files:
[*.{css,css.txt}]
indent_style = tab
# Set properties for Makefiles:
[Makefile]
indent_style = tab
[*.{mk,mk.txt}]
indent_style = tab
# Set properties for Markdown files:
[*.{md,md.txt}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
# Set properties for `usage.txt` files:
[usage.txt]
indent_style = space
indent_size = 2
# Set properties for `repl.txt` files:
[repl.txt]
indent_style = space
indent_size = 4
# Set properties for `package.json` files:
[package.{json,json.txt}]
indent_style = space
indent_size = 2
# Set properties for `datapackage.json` files:
[datapackage.json]
indent_style = space
indent_size = 2
# Set properties for `manifest.json` files:
[manifest.json]
indent_style = space
indent_size = 2
# Set properties for `tsconfig.json` files:
[tsconfig.json]
indent_style = space
indent_size = 2
# Set properties for LaTeX files:
[*.{tex,tex.txt}]
indent_style = tab
# Set properties for LaTeX Bibliography files:
[*.{bib,bib.txt}]
indent_style = tab
# Set properties for YAML files:
[*.{yml,yml.txt}]
indent_style = space
indent_size = 2
# Set properties for GYP files:
[binding.gyp]
indent_style = space
indent_size = 2
[*.gypi]
indent_style = space
indent_size = 2
# Set properties for citation files:
[*.{cff,cff.txt}]
indent_style = space
indent_size = 2