From 57dd9b54615318f54cc66c0afca9fe501ee887f2 Mon Sep 17 00:00:00 2001 From: usmonster Date: Wed, 11 Nov 2015 13:21:29 -0500 Subject: [PATCH] Adds .editorconfig Makes contributing consistently-formatted code a bit easier --- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..64c61e1 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,17 @@ +# http://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true + +indent_style = space +indent_size = 4 + +[{.travis.yml,package.json}] +# The indent size used in the `package.json` file cannot be changed +# https://github.com/npm/npm/pull/3180#issuecomment-16336516 +indent_size = 2