From 7feb50fcb96adc2fb823950c3b69be521d43763b Mon Sep 17 00:00:00 2001 From: Dave Greene Date: Wed, 25 May 2016 10:26:22 -0400 Subject: [PATCH] Added editorconfig. --- .editorconfig | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..87a1e1a --- /dev/null +++ b/.editorconfig @@ -0,0 +1,31 @@ +# EditorConfig is awesome: 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 +indent_style = space +indent_size = 2 +tab_width = 2 +continuation_indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true +max_line_length = 120 + + +# Matches multiple files with brace expansion notation +# Set default charset +[*.js] +quote_type = single +curly_bracket_next_line = false +spaces_around_operators = true +spaces_around_brackets = none +indent_brace_style = BSD KNF + + +[*.html] +quote_type = double