From 0613235825ce94aee1dd6a9635b5e3e3ad258a1b Mon Sep 17 00:00:00 2001 From: Paul Ramsey Date: Wed, 18 Oct 2017 15:28:19 -0700 Subject: [PATCH] enforce some text file rules --- .editorconfig | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..cea060b --- /dev/null +++ b/.editorconfig @@ -0,0 +1,16 @@ +# http://editorconfig.org + +# top-most EditorConfig file +root = true + +# these are the defaults +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +# C files want tab indentation +[*.{c,h}] +indent_style = tab +