From 18259219d72a991edcde959b10a555cc9e045127 Mon Sep 17 00:00:00 2001 From: William Boman Date: Mon, 7 Sep 2015 20:20:12 +0200 Subject: [PATCH] add .editorconfig file --- .editorconfig | 9 +++++++++ test/layout_test.rb | 1 + 2 files changed, 10 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 000000000000..c6c8b3621938 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +indent_style = space +indent_size = 2 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true diff --git a/test/layout_test.rb b/test/layout_test.rb index 331380e1479c..c4711c525e94 100644 --- a/test/layout_test.rb +++ b/test/layout_test.rb @@ -36,6 +36,7 @@ } TOPLEVEL_FILES = %w{ + .editorconfig .gitignore .rspec .rubocop.yml