feat: Add editorconfig
Some checks reported errors
buildbot/nix-build .#checks.aarch64-darwin Build done.
buildbot/nix-build .#checks.aarch64-linux Build done.
buildbot/nix-build .#checks.x86_64-darwin Build done.
buildbot/nix-build .#checks.x86_64-linux Build done.
buildbot/nix-eval Build done.

Aligned with the global recommendations from https://wiki.auxolotl.org/en/contributing/formatting/editorconfig
This commit is contained in:
dfh 2024-08-02 00:20:19 +00:00
parent ab61afad3a
commit 6439ca00d5

18
.editorconfig Normal file
View file

@ -0,0 +1,18 @@
root = true
[*]
charset = utf-8
trim_trailing_whitespace = true
end_of_line = lf
insert_final_newline = true
indent_style = tabs
[*.nix]
indent_size = 2
insert_final_newline = false
indent_style = space
[*.md]
indent_size = 2
trim_trailing_whitespace = false
insert_final_newline = false