From fa5d200aa05a10a504e7698fb8a5a15d59c62c9e Mon Sep 17 00:00:00 2001 From: Peter Deltchev Date: Sat, 24 Oct 2015 19:44:14 -0700 Subject: [PATCH] Added an .editorconfig file. --- .editorconfig | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..c5eb0981 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,25 @@ +# Adapted from: http://editorconfig.org/ + +# top-most EditorConfig file +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true + +# 4 space indentation and default charset +[*.{php,coffee,js,less,css,html}] +charset = utf-8 +indent_style = space +indent_size = 4 + +# One-offs + +[{package.json}] +indent_style = space +indent_size = 2 + +[{composer.json}] +indent_style = space +indent_size = 4