This repository has been archived by the owner on Aug 8, 2023. It is now read-only.
/
.editorconfig
139 lines (110 loc) · 2.38 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
#/
# @license BSD-3-Clause
#
# Copyright (c) 2019 Project Jupyter Contributors.
# Distributed under the terms of the 3-Clause BSD 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]
indent_style = space
indent_size = 2
quote_type = single
# Set properties for TypeScript files:
[*.ts]
indent_style = space
indent_size = 2
quote_type = single
# Set properties for TSX files:
[*.tsx]
indent_style = space
indent_size = 2
quote_type = single
# Set properties for Python files:
[*.py]
indent_style = space
indent_size = 4
# Set properties for Julia files:
[*.jl]
indent_style = tab
# Set properties for R files:
[*.R]
indent_style = tab
# Set properties for C files:
[*.c]
indent_style = tab
# Set properties for C header files:
[*.h]
indent_style = tab
# Set properties for C++ files:
[*.cpp]
indent_style = tab
# Set properties for C++ header files:
[*.hpp]
indent_style = tab
# Set properties for Fortran files:
[*.f]
indent_style = space
indent_size = 2
insert_final_newline = false
# Set properties for shell files:
[*.sh]
indent_style = tab
# Set properties for AWK files:
[*.awk]
indent_style = tab
# Set properties for HTML files:
[*.html]
indent_style = tab
tab_width = 2
# Set properties for CSS files:
[*.css]
indent_style = tab
# Set properties for Makefiles:
[Makefile]
indent_style = tab
[*.mk]
indent_style = tab
# Set properties for Markdown files:
[*.md]
indent_style = space
indent_size = 4
trim_trailing_whitespace = false
# Set properties for `package.json` files:
[package.json]
indent_style = space
indent_size = 2
# Set properties for `datapackage.json` files:
[datapackage.json]
indent_style = space
indent_size = 2
# Set properties for `lerna.json` files:
[lerna.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]
indent_style = tab
# Set properties for LaTeX Bibliography files:
[*.bib]
indent_style = tab
# Set properties for YAML files:
[*.yml]
indent_style = space
indent_size = 2