mirror of
https://github.com/simh/simh.git
synced 2026-01-11 23:52:58 +00:00
SCP: Add .editorconfig that reflects the project line ending and tab standars
This commit is contained in:
parent
829d696c5e
commit
98ea251f0f
28
.editorconfig
Normal file
28
.editorconfig
Normal file
@ -0,0 +1,28 @@
|
||||
# EditorConfig: https://editorconfig.org/
|
||||
root = true
|
||||
|
||||
[*.{c,h}]
|
||||
charset = utf-8
|
||||
end_of_line = crlf
|
||||
indent_style = space
|
||||
insert_final_newline = true
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# Makefiles
|
||||
[{{M,m}akefile,descrip.mms}]
|
||||
trim_trailing_whitespace = true
|
||||
indent_style = tab
|
||||
end_of_line = crlf
|
||||
insert_final_newline = true
|
||||
|
||||
# Other text files
|
||||
[*.{txt,ini,md,simh,.editorconfig}]
|
||||
charset = utf-8
|
||||
end_of_line = crlf
|
||||
trim_trailing_whitespace = true
|
||||
|
||||
# Git commit messages
|
||||
[{COMMIT_EDITMSG,MERGE_MSG}]
|
||||
trim_trailing_whitespace = true
|
||||
max_line_length = 80
|
||||
indent_style = space
|
||||
Loading…
x
Reference in New Issue
Block a user