Skip to content

Commit 6222178

Browse files
committed
Merge branch '480-provide-formating-hits-via-editorconfig' into 'development'
cross-platform formatting hints Closes #480 See merge request damask/DAMASK!1031
2 parents f567a33 + 1081542 commit 6222178

File tree

1 file changed

+22
-0
lines changed

1 file changed

+22
-0
lines changed

.editorconfig

+22
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# EditorConfig file: https://editorconfig.org
2+
3+
root = true
4+
5+
[{*.{md,f90,py,c,yaml,yml,cmake},CMakeLists.txt}]
6+
charset = utf-8
7+
end_of_line = lf
8+
9+
[{*.{f90,py,c,yaml,yml,cmake},CMakeLists.txt}]
10+
max_line_length = 100
11+
indent_style = space
12+
trim_trailing_whitespace = true
13+
insert_final_newline = true
14+
15+
[{*.{f90,c,yaml,yml,cmake},CMakeLists.txt}]
16+
indent_size = 2
17+
18+
[*.py]
19+
indent_size = 4
20+
21+
[*.md]
22+
trim_trailing_whitespace = false

0 commit comments

Comments
 (0)