Add editor configs

Add .editorconfig, .vscode and .gitattributes configs to make editors
and tools aware that the files use unix line indeings and are indentent
with tabs.
This commit is contained in:
Hornwitser 2025-02-26 12:05:32 +01:00
parent 9163ca63a9
commit e20aef2f32
3 changed files with 34 additions and 0 deletions

13
.editorconfig Normal file
View file

@ -0,0 +1,13 @@
root = true
[*.{js,jsx,mjs,cjs,ts,tsx,mts,cts}]
charset = utf-8
end_of_line = lf
indent_size = tab
indent_style = tab
insert_final_newline = true
trim_trailing_whitespace = true
*{.yaml,.yml}]
indent_size = 2
indent_style = space