diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..4bf2955 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,33 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true + +[*.c] +indent_style = space +indent_size = 2 +tab_width = 2 + +[*.h] +indent_style = space +indent_size = 2 +tab_width = 2 + +[Makefile] +indent_style = tab +tab_width = 4 +trim_trailing_whitespace = false + +[*.mk] +indent_style = tab +tab_width = 4 +trim_trailing_whitespace = false + +[*.sh] +indent_style = space +indent_size = 2 +tab_width = 2 +