From dc26e3ed94e9bf9c05a2f2cf8fab989b87b67fe6 Mon Sep 17 00:00:00 2001 From: Vasil Dimov Date: Mon, 27 Jan 2020 16:09:41 +0100 Subject: [PATCH] Add .editorconfig to make it easier to obey style Changelog-None --- .editorconfig | 20 ++++++++++++++++++++ 1 file changed, 20 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000..e2eb17b87 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,20 @@ +# https://editorconfig.org/#file-format-details + +root = true + +[*] +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[{**.c,**.h,Makefile}] +indent_style = tab + +[**.py] +indent_style = space +indent_size = 4 + +[.travis.yml] +indent_style = space +indent_size = 2