Skip to content

Commit 7a8cfca

Browse files
markpizzpkoning2
authored andcommitted
SCP: Add .editorconfig which describes the project's long standing convention
This will hopefully automatically get small changes to adhere to the conventions without them slipping through in the future.
1 parent decbe5b commit 7a8cfca

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed

.editorconfig

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
# EditorConfig: https://editorconfig.org/
2+
root = true
3+
4+
[*.{c,h}]
5+
charset = utf-8
6+
end_of_line = crlf
7+
indent_style = space
8+
insert_final_newline = true
9+
trim_trailing_whitespace = true
10+
11+
# Makefiles
12+
[{{M,m}akefile,descrip.mms}]
13+
trim_trailing_whitespace = true
14+
indent_style = tab
15+
end_of_line = crlf
16+
insert_final_newline = true
17+
18+
# Other text files
19+
[*.{txt,ini,md,simh,.editorconfig}]
20+
charset = utf-8
21+
end_of_line = crlf
22+
trim_trailing_whitespace = true
23+
24+
# Git commit messages
25+
[{COMMIT_EDITMSG,MERGE_MSG}]
26+
trim_trailing_whitespace = true
27+
max_line_length = 80
28+
indent_style = space

0 commit comments

Comments
 (0)