1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-23 18:29:47 +01:00

home-manager: add .editorconfig

Sets the basic editor settings to Home Manager style guide.
This commit is contained in:
Daniel Poelzleithner 2023-10-17 03:43:10 +02:00 committed by Robert Helgesson
parent f6bb5c2973
commit 132f985185
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

21
.editorconfig Normal file
View file

@ -0,0 +1,21 @@
# http://editorconfig.org
root = true
[*]
indent_style = space
indent_size = 2
end_of_line = lf
charset = utf-8
trim_trailing_whitespace = true
insert_final_newline = true
# The JSON files contain newlines inconsistently
[*.json]
insert_final_newline = ignore
# Makefiles always use tabs for indentation
[Makefile]
indent_style = tab
[*.md]
trim_trailing_whitespace = false