Use consistent line endings

This re-uses the configuration used on the Public Archive to ensure
consistent line endings are used everywhere: store LF on the Git repo,
and let Windows users manage the conversion to CR LF themselves.
This commit is contained in:
~lucidiot 2022-09-19 06:33:14 +02:00
parent 82dfbe64c0
commit 47d3dd9166
Signed by: lucidiot
GPG Key ID: 3358C1CA6906FB8D
14 changed files with 453 additions and 431 deletions

21
.editorconfig Normal file
View File

@ -0,0 +1,21 @@
root = true
[*]
end_of_line = lf
insert_final_newline = true
charset = utf-8
indent_style = space
trim_trailing_whitespace = true
[*.txt]
indent_size = 3
[*.{html,xml,md}]
indent_size = 2
[*.json]
indent_size = 4
[*.md]
# Allow 2 spaces at the end of a line to cause a line break
trim_trailing_whitespace = false

1
.gitattributes vendored Normal file
View File

@ -0,0 +1 @@
* text=auto