forked from libgeos/geos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
62 lines (50 loc) · 1.14 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
# http://editorconfig.org
# top-most EditorConfig file
root = true
# every file needs these
[*]
charset = utf-8
end_of_line = lf
trim_trailing_whitespace = true
insert_final_newline = true
# C++ files want tab indentation
[*.{h,cpp}]
indent_style = tab
indent_size = 2
# Makefiles want tab indentation
[Makefile.am]
indent_style = tab
indent_size = 2
# YML files want space indentation
[*.yml]
indent_style = space
indent_size = 2
# appveyor.yml is meant for windows (mloskot said)
[appveyor.yml]
end_of_line = crlf
# Visual-C files want carriage returns too
[*.{vc,opt}]
end_of_line = crlf
# CMake configuration files
[CMakeLists.txt]
indent_style = space
indent_size = 2
# CMake modules
[*.cmake]
indent_style = space
indent_size = 2
# operation/union directories were found to be using spaces
[src/operation/union/*.cpp]
indent_style = space
indent_size = 2
[include/geos/operation/union/*.{h,inl}]
indent_style = space
indent_size = 2
# XMLTester.cpp wants 2-space indent
[tests/xmltester/XMLTester.cpp]
indent_style = space
indent_size = 4
# Stackwalker.cpp wants 4-space indent
[tests/xmltester/Stackwalker.cpp]
indent_style = space
indent_size = 2