feat: add editorconfig

This commit is contained in:
Maciej Sypien 2024-09-05 08:54:58 +02:00
parent 35f911f5e2
commit 43e899108f
No known key found for this signature in database
GPG key ID: 10BC01EDA6827DC8

21
.editorconfig Normal file
View file

@ -0,0 +1,21 @@
# EditorConfig helps developers define and maintain consistent
# coding styles between different editors and IDEs
# EditorConfig is awesome: https://EditorConfig.org
root = true
[*]
charset = utf-8
indent_size = 2
indent_style = space
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
# documentation, utils
[*.{md,mdx,diff}]
trim_trailing_whitespace = false
# windows shell scripts
[*.{cmd,bat,ps1}]
end_of_line = crlf