forked from AMReX-Codes/amrex
-
Notifications
You must be signed in to change notification settings - Fork 6
/
.editorconfig
49 lines (34 loc) · 858 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
47
48
49
# http://EditorConfig.org
#
# precedence of rules is bottom to top
# this is the top-most EditorConfig file
root = true
[*.{c,h,cpp,hpp,H,py}]
# 4 space indentation
indent_style = space
indent_size = 4
# setting it to true would result in too many white changes to amrex
trim_trailing_whitespace = true
# unix-style newlines
end_of_line = lf
# newline ending in files
insert_final_newline = true
[*.md]
# two end of line whitespaces are newlines without a paragraph
trim_trailing_whitespace = false
[*.rst]
# Enforce UTF-8 encoding
charset = utf-8
# Unix-style newlines
end_of_line = lf
# Newline ending in files
insert_final_newline = true
# 3 space indentation
indent_style = space
indent_size = 3
# Clean up trailing whitespace
trim_trailing_whitespace = true
[Makefile]
# TABs are part of its syntax
indent_style = tab
indent_size = unset