-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
151 lines (122 loc) · 3.44 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
#/
# @license MIT
#
# Copyright (c) 2023 Consortium for Python Data API Standards.
#
# Permission is hereby granted, free of charge, to any person obtaining a copy
# of this software and associated documentation files (the "Software"), to deal
# in the Software without restriction, including without limitation the rights
# to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
# copies of the Software, and to permit persons to whom the Software is
# furnished to do so, subject to the following conditions:
#
# The above copyright notice and this permission notice shall be included in all
# copies or substantial portions of the Software.
#
# THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
# IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
# FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
# AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
# LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
# OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
# SOFTWARE.
#/
# 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 JSON files:
[*.{json,json.txt}]
indent_style = space
indent_size = 2
# 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 `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 `tslint.json` files:
[tslint.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