From 0ed2541d6dc3ff31126915c6ea59d92f0c23acd1 Mon Sep 17 00:00:00 2001 From: John MacFarlane Date: Fri, 24 Oct 2014 20:51:30 -0700 Subject: Added .editorconfig. Thanks to @lipis. Closes #50. This may need tweaking. --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..f0f2032 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# editorconfig.org + +root = true + +[*] +end_of_line = lf +charset = utf-8 +insert_final_newline = true + +[*.js] +trim_trailing_whitespace = true +indent_style = space +indent_size = 2 + +[{*.c,Makefile}] +trim_trailing_whitespace = true +indent_style = tab -- cgit v1.2.3