Add .editorconfig

This commit is contained in:
Lorenz Hohermuth 2025-10-15 13:43:05 +02:00
parent 8b9ba20748
commit d99e52ad3f
1 changed files with 27 additions and 0 deletions

27
.editorconfig Normal file
View File

@ -0,0 +1,27 @@
# top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file
[*]
end_of_line = lf
insert_final_newline = true
# Matches multiple files with brace expansion notation
# Set default charset
[*.{js,py,go}]
charset = utf-8
[*.go]
indent_style = space
indent_size = 2
[*.{js,jsx,ts,tsx}]
indent_style = space
indent_size = 2
[Makefile]
indent_style = tab
[{package.json,.travis.yml}]
indent_style = space
indent_size = 2