Add .editorconfig

Signed-off-by: Christian König <ckoenig@posteo.de>
This commit is contained in:
Christian König
2022-06-24 14:11:38 +02:00
parent 6ad34cbb0e
commit 594aeea835

25
.editorconfig Normal file
View File

@@ -0,0 +1,25 @@
# EditorConfig is awesome: https://editorconfig.org/
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
[*.css]
indent_style = space
indent_size = 2
[scripts/**.js]
indent_style = space
indent_size = 2
[package.json]
indent_style = space
indent_size = 2