From b9121d8321adc0e43834c4e5c54ac1f8d99d1fe6 Mon Sep 17 00:00:00 2001 From: William Boman Date: Thu, 1 Oct 2015 00:12:04 +0200 Subject: [PATCH] Add .editorconfig http://editorconfig.org/ --- .editorconfig | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..7907cdff --- /dev/null +++ b/.editorconfig @@ -0,0 +1,24 @@ +# EditorConfig helps developers define and maintain consistent +# coding styles between different editors and IDEs +# editorconfig.org + +root = true + +[*] +indent_style = tab + +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.md] +trim_trailing_whitespace = false + +[*.{json,yml}] +indent_style = space +indent_size = 2 + +[.eslintrc] +indent_style = space +indent_size = 2