-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy path.editorconfig
130 lines (103 loc) · 2.35 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
# EditorConfig configuration
# http://EditorConfig.org
# Top-most EditorConfig file
root = true
# Unix-style newlines without trailing whitespaces, but with a newline
# ending every file, utf-8 charset, set indent to tabs
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
indent_style = tab
indent_size = 4
max_line_length = 80
# License header
file_header_template = Copyright (c) StoneyDSP.\nLicensed under the MIT License.
[*.{js,jsx,ts,tsx,mls}]
indent_style = space
indent_size = 2
[*.json]
indent_size = 2
[jquery]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
max_line_length = 100
[*.py]
indent_style = space
[*.{yml,yaml}]
indent_style = space
indent_size = 2
# Xml project files
[*.{csproj,vbproj,vcxproj,vcxproj.filters,vcxitems,vcxitems.filters,proj,nativeproj,locproj,njsproj}]
indent_size = 2
end_of_line = crlf
[*.{csproj,vbproj,proj,nativeproj,locproj}]
charset = utf-8
# Xml build files
[*.builds]
indent_size = 2
# Xml files
[*.{xml,stylecop,resx,ruleset}]
indent_size = 2
# Xml config files
[*.{msbuild,props,targets,config,nuspec}]
indent_size = 2
end_of_line = crlf
[{Makefile,*.mak}]
indent_style = tab
[*.{md,rmd,mkd,mkdn,mdwn,mdown,markdown,litcoffee}]
indent_style = space
[meson.build]
indent_style = space
indent_size = 2
# All <CPP> extensions
[*.{h,hh,hpp,hxx,h++,inl,ipp,ixx,tlh,tli}]
indent_style = space
indent_size = 4
# All <C> extensions
[*.{c,m}]
indent_style = space
indent_size = 4
# All <CXX> extensions
[*.{C,M,c++,cc,cpp,cxx,mm,mpp,CPP,ixx,cppm,ccm,cxxm,c++m}]
indent_style = space
indent_size = 4
# All <Fortran> extensions
[*.{f,F,fpp,FPP,f77,F77,f90,F90,for,For,FOR,f95,F95,f03,F03,f08,F08}]
indent_style = space
indent_size = 4
# All <ASM> extensions
[*.{s,S,asm}]
indent_style = space
indent_size = 4
# All <RC> extensions
[*.rc]
charset = utf-16le
indent_size = 4
end_of_line = crlf
indent_style = space
[*.py]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
max_line_length = 80
[*.cs]
indent_style = space
indent_size = 4
# Shell scripts
[*.sh]
end_of_line = lf
# Windows specific files should retain windows line-endings
[*.{sln,[sS][lL][nN]}]
end_of_line = crlf
[*.{cmd,[cC][mM][dD]}]
end_of_line = crlf
[*.{bat,[bB][aA][tT]}]
end_of_line = crlf
[*.{ps1,psm1}]
end_of_line = crlf
[{CMakeLists.txt,*.cmake}]
indent_size = 4
indent_style = space