tools: add an editorconfig file

All text editors understanding this format will use the proper defaults.
This commit is contained in:
Pierre de La Morinerie 2020-08-17 16:33:40 +02:00
parent 6a5b1a86f2
commit 598809fc15

16
.editorconfig Normal file
View File

@ -0,0 +1,16 @@
# top-most EditorConfig file
root = true
# Trim trailing whitespaces, and end with a newline ending every file
[*]
trim_trailing_whitespace = true
insert_final_newline = true
# 4 space indentation
[*.{asm, py}]
indent_style = space
indent_size = 4
# Tab indentation (no size specified)
[Makefile]
indent_style = tab