From 3144ab09e28d0138f9671e669463b978fa593e5e Mon Sep 17 00:00:00 2001 From: Paul Morgan Date: Mon, 20 Jan 2014 22:26:16 +0000 Subject: [PATCH] support consistent coding style across users If the user adds an editorconfig plugin to their editor or IDE, editorconfig auto-applies the correct coding style. --- .editorconfig | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..749b38f --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +; This file is for unifying the coding style for different editors and IDEs. +; Plugins are available for notepad++, emacs, vim, gedit, +; textmate, visual studio, and more. +; +; See http://editorconfig.org for details. + +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true