-
Notifications
You must be signed in to change notification settings - Fork 10
/
.editorconfig
57 lines (42 loc) · 1.17 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
# This file configures editors using the EditorConfig scheme.
# https://editorconfig.org/
# guideline support for "Visual Studio 2022" IDE using extension: "PaulHarrington.EditorGuidelinesPreview"
# https://marketplace.visualstudio.com/items?itemName=PaulHarrington.EditorGuidelinesPreview
# editorconfig support for "VSCode" using extension: "editorconfig.editorconfig"
# https://marketplace.visualstudio.com/items?itemName=EditorConfig.EditorConfig
root = true
# "visual studio" specific
vc_generate_documentation_comments = doxygen_slash_star
[*]
charset = utf-8
end_of_line = lf
indent_style = space
insert_final_newline = true
# "visual studio" specific
spelling_languages = en-us
guidelines = 80 dashed, 130
[CMakeLists.txt, *.{cmake}]
indent_size = 2
indent_style = space
[*.cmake]
indent_size = 2
indent_style = space
[*.{c,cc,cpp,h,hpp,hxx,inl}]
indent_size = 4
trim_trailing_whitespace = true
[*.{json,yaml,yml}]
indent_size = 2
insert_final_newline = false
[*.sh]
indent_size = 2
[*.{js,ts}]
indent_size = 4
[*.{md,markdown}]
indent_size = 4
trim_trailing_whitespace = false
# Config files
[*.{clang-format}]
indent_size = 2
[Dockerfile]
indent_style = space
indent_size = 4