diff --git a/.editorconfig b/.editorconfig index dabdb96..b2284e5 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,8 +1,16 @@ root = true [*] -end_of_line = crlf -insert_final_newline = true -indent_size = 4 charset = utf-8 +end_of_line = crlf +indent_size = 4 +insert_final_newline = true + +[{*.{c,d,h,py,sh},Makefile}] +max_line_length = 80 + +[Makefile] indent_style = tab + +[*.{c,h}] +trim_trailing_whitespace = true