forked from fortran-lang/stdlib
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.editorconfig
55 lines (46 loc) · 1.15 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
# 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 = 4
trim_trailing_whitespace = true
max_line_length = 132
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
[*.md]
max_line_length = off
trim_trailing_whitespace = false
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
[*.{yml,json}]
indent_style = space
indent_size = 2
trim_trailing_whitespace = true
insert_final_newline = true