meta: set up editorconfig

Signed-off-by: NotAShelf <raf@notashelf.dev>
Change-Id: Ie44e5a7239a053d674e6aa06e14c3ce56a6a6964
This commit is contained in:
raf 2026-03-22 23:57:19 +03:00
commit 6900984e46
Signed by: NotAShelf
GPG key ID: 29D95B64378DB4BF

32
.editorconfig Normal file
View file

@ -0,0 +1,32 @@
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.rs]
indent_style = space
indent_size = 2
[justfile]
indent_style = space
indent_size = 2
[*.toml]
indent_style = space
indent_size = 2
[*.md]
indent_style = space
indent_size = 2
trim_trailing_whitespace = false
[*.nix]
indent_style = space
indent_size = 2
[*.scss]
indent_style = space
indent_size = 2