Add EditorConfig specification.

* .editorconfig: New file.

Signed-off-by: Christopher Baines <mail@cbaines.net>
This commit is contained in:
( 2022-10-11 16:22:32 +01:00 committed by Christopher Baines
parent e67f9d7ab0
commit 6123f0e467
No known key found for this signature in database
GPG key ID: 5E28A33B0B84F577

16
.editorconfig Normal file
View file

@ -0,0 +1,16 @@
root = true
[*.{c,h,cpp,hpp,el,scm,ac,am,m4,po}{,.in}]
end_of_line = lf
insert_final_newline = true
charset = utf-8
trim_trailing_whitespace = true
[*.{c,h,cpp,hpp,ac,am,m4,el,scm}{,.in}]
max_line_length = 85
[*.{c,h,cpp,hpp,ac,m4,el,scm}{,.in}]
indent_style = space
[*.{c,h,cpp,hpp}{,.in}]
indent_size = 4