From 3dfe8a8d14ef4e146a59e9038d8ed7ceaf183af5 Mon Sep 17 00:00:00 2001 From: Intel A80486DX2-66 Date: Sun, 28 Jan 2024 17:09:01 +0300 Subject: [PATCH] update .editorconfig to template --- .editorconfig | 14 +++++++++++--- 1 file changed, 11 insertions(+), 3 deletions(-) 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