use LF instead of CRLF

What is changed:
- replaced CRLF with LF by running `dos2unix *`
- configure editorconfig to use LF

It is always recommended to use LF rather than CRLF in programming
world, we should keep this practice in Obsidian plugins.

For anyone who wants to use CRLF locally, you can set
`git config core.autocrlf` to true. For further information,
this article is a good start:
https://www.aleksandrhovhannisyan.com/blog/crlf-vs-lf-normalizing-line-endings-in-git/
This commit is contained in:
Reorx 2022-04-15 14:31:56 +08:00
parent 24918c946d
commit 55bc4a6805
7 changed files with 252 additions and 251 deletions

View File

@ -3,6 +3,7 @@ root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
indent_style = tab
indent_size = 4