-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
118 lines (99 loc) · 2.51 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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
#
# (c) 2019 Guide Star Engineering, LLC
# This Software was developed for the US Nuclear Regulatory Commission (US NRC)
# under contract "Multi-Dimensional Physics Implementation into Fuel Analysis under
# Steady-state and Transients (FAST)", contract # NRC-HQ-60-17-C-0007
#
# EditorConfig file. For more info, please see:
# https://EditorConfig.org
# top-most EditorConfig file
root = true
# All files should have a final newline and not have trailing whitespace
# but we need to explicitly enumerate files we care about to prevent random junk
# from being linted
[*.{f90,F90}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
max_line_length = 132
insert_final_newline = true
# There's some very old C code
# [*.{c,h}]
# indent_style = space
# indent_size = 4
# trim_trailing_whitespace = true
# insert_final_newline = true
[Dockerfile]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
max_line_length = 80
insert_final_newline = true
[{CMakeLists.txt, *.cmake}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
max_line_length = 132
insert_final_newline = true
[{package.json,package-lock.json}]
max_line_length = off
insert_final_newline = true
[*.md]
max_line_length = off
trim_trailing_whitespace = false
charset = utf-8
insert_final_newline = true
[*.sln,*.vcproj}]
max_line_length = off
trim_trailing_whitespace = off
end_of_line = crlf
[*.bat]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
max_line_length = 132
end_of_line = crlf
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py}]
indent_style = space
indent_size = 4
trim_trailing_whitespace = true
max_line_length = 132
charset = utf-8
insert_final_newline = true
# Tab indentation (no size specified)
[Makefile]
indent_style = tab
indent_size = 4
trim_trailing_whitespace = true
max_line_length = 132
insert_final_newline = true
[*.sh]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
max_line_length = 132
insert_final_newline = true
[*.nml]
trim_trailing_whitespace = true
max_line_length = 132
insert_final_newline = true
[*.{el,elisp}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
max_line_length = 132
insert_final_newline = true
[main.workflow]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
max_line_length = 132
insert_final_newline = true
[*.{yml,json}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true