add .editorconfig

This commit is contained in:
Adam Spiers 2025-10-07 21:49:50 +01:00
parent 5045fefb50
commit 51a805c4db
2 changed files with 23 additions and 0 deletions

22
.editorconfig Normal file
View file

@ -0,0 +1,22 @@
# EditorConfig for GNU Stow
# https://editorconfig.org
root = true
[*]
charset = utf-8
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
[*.{pl,pm,t}]
indent_style = space
indent_size = 4
[*.{yml,yaml}]
indent_style = space
indent_size = 2
[{Makefile,Makefile.*,*.am,*.mk}]
indent_style = tab
indent_size = 8

View file

@ -92,5 +92,6 @@ tmp-testing-trees*
^playground/
# Avoid development config
^\.editorconfig
^.dir-locals.el
^.dumbjump