forked from libgeos/geos
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
47 lines (37 loc) · 825 Bytes
/
.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
# 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/C++ files want 4-space indentation
[*.{h,cpp,inl,h.in,c}]
indent_style = space
indent_size = 4
# 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
trim_trailing_whitespace = true
insert_final_newline = true
# CMake modules
[*.cmake]
indent_style = space
indent_size = 2