From 3337aff4d53be5f4e755df206a05fa9ac8d861ea Mon Sep 17 00:00:00 2001 From: horst Date: Sun, 23 Apr 2017 12:00:33 +0200 Subject: [PATCH] create .editorconfig in wire directory This is very helpful for contributors who uses different editor settings, for example indentation with spaces, not tabs. Most of all common editor programms or IDEs nowadays support to preserve the defined coding style rules automatically. Read more here: http://editorconfig.org --- wire/.editorconfig | 31 +++++++++++++++++++++++++++++++ 1 file changed, 31 insertions(+) create mode 100644 wire/.editorconfig diff --git a/wire/.editorconfig b/wire/.editorconfig new file mode 100644 index 00000000..ed802d68 --- /dev/null +++ b/wire/.editorconfig @@ -0,0 +1,31 @@ +; This file is for unifying the coding style for different editors and IDEs. +; More information at http://editorconfig.org + + +root = true + + +[*] +charset = utf-8 +end_of_line = lf + + +[*.{php,inc,module}] +tab_width = 4 +indent_style = tab +trim_trailing_whitespace = false +insert_final_newline = true + + +[*.js] +tab_width = 4 +indent_style = tab +trim_trailing_whitespace = true +insert_final_newline = true + + +[*.{css,less,scss}] +tab_width = 2 +indent_style = tab +trim_trailing_whitespace = true +insert_final_newline = true