From c992c15276067aca918ef82fb6b2952e5b2567eb Mon Sep 17 00:00:00 2001 From: Kevin Hester Date: Mon, 14 Apr 2014 13:47:10 -1000 Subject: [PATCH] codestyle: specify line-ending, trailing-whitespace and tab rules # This file provide reference settings for the APM code conventions # There are plug-ins available for nearly every text editor to automatically # respect the conventions contained within this file. # # Please see editorconfig.org for complete information. # # If you find errors in this file, please send a pull-request with a fix. # --- .editorconfig | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..1fa9ef15a9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,27 @@ +# This file provide reference settings for the APM code conventions +# There are plug-ins available for nearly every text editor to automatically +# respect the conventions contained within this file. +# +# Please see editorconfig.org for complete information. +# +# If you find errors in this file, please send a pull-request with a fix. +# +root = true + +[*] +indent_style = space +indent_size = 4 +tab_size = 8 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.coffee] +indent_size = 2 + +[*.js] +indent_size = 2 + +# [*.md] +# trim_trailing_whitespace = false