From 7f98ddf66f8c938c7b28d9317e3106e7662bd621 Mon Sep 17 00:00:00 2001 From: Seb Ashton Date: Thu, 16 Oct 2014 07:53:05 +0100 Subject: [PATCH] Adds editorConfig. Fixes #5491 --- .editorconfig | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000000..554c663b152 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,22 @@ +# http://EditorConfig.org +# https://github.com/editorconfig/editorconfig/wiki/EditorConfig-Properties + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 2 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true +tab_width = 2 + +[**.rb] +max_line_length = 80 + +[**.js, **.coffee] +max_line_length = 120 + +[*.md] +trim_trailing_whitespace = false