From 26f76dc9b17b1dab5ef18258120facd47b5251a8 Mon Sep 17 00:00:00 2001 From: "neiljp (Neil Pilgrim)" Date: Sun, 17 Dec 2017 10:49:51 -0800 Subject: [PATCH] Editing: Add .editorconfig from zulip/zulip (with note). --- .editorconfig | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..123d792 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,23 @@ +# This file was copied from the zulip/zulip repository +# - not all file types are present here, but this ensures +# future files will be consistent with those in zulip/zulip + +root = true + +[*] +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.{sh,py,pyi,js,json,yml,xml,css,md,markdown,handlebars,html}] +indent_style = space +indent_size = 4 + +[*.{svg,rb,pp,pl}] +indent_style = space +indent_size = 2 + +[*.{cfg}] +indent_style = space +indent_size = 8