-
-
Notifications
You must be signed in to change notification settings - Fork 12
/
Copy path.editorconfig
62 lines (49 loc) · 1.02 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
#######################################
# Core Options #
#######################################
# This file is the top-most EditorConfig file
root = true
# All Files
[*]
charset = utf-8
guidelines = 120
indent_size = 4
indent_style = space
insert_final_newline = true
trim_trailing_whitespace = true
#######################################
# File Extension Settings #
#######################################
# Markdown
[*.{md,mdx}]
trim_trailing_whitespace = false
# JSON
[*.{json,json5,webmanifest}]
indent_size = 2
# YAML
[*.{yml,yaml,clang-format,clang-tidy}]
indent_size = 2
# CMake
[{CMakeLists.txt,*.cmake,*.rst}]
indent_size = 2
indent_style = space
# Makefile
[Makefile]
end_of_line = lf
indent_style = tab
# Visual Studio Solution
[*.sln]
indent_style = tab
# C/C++
[*.{c++,c,cc,cpp,cppm,cxx,h,h++,hh,hpp,hxx,inl,ipp,ixx,tlh,tli}]
end_of_line = lf
# C#
[*.cs]
end_of_line = crlf
csharp_prefer_braces = true
# Pawn
[*.{inc,sma,sp}]
end_of_line = lf
# Python
[*.{py,py3}]
guidelines = 88