From fec00b2635f33deced55a7f1f186620167fb9ca2 Mon Sep 17 00:00:00 2001 From: "Juan Pablo [Lipibook]" Date: Tue, 21 Jul 2015 00:25:29 -0300 Subject: [PATCH] gitignore updated and added .editorconfig --- .editorconfig | 34 ++++++++++++++++++++++++++++++++++ .gitignore | 1 - 2 files changed, 34 insertions(+), 1 deletion(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..c63c0a7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,34 @@ +# EditorConfig helps developers define and maintain consistent coding styles between different editors and IDEs +# http://editorconfig.org + +# top-most EditorConfig file +root = true + +[*] +indent_style = tab +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[*.php] +indent_size = 4 + +[*.json] +indent_style = space +indent_size = 2 + +[{.jshintrc, .bowerrc, .sailsrc}] +indent_style = space +indent_size = 2 + +[*.js] +indent_style = tab +indent_size = 2 + +[{.css,.sass,*.scss,.styl,.less}] +indent_style = tab +indent_size = 2 + +[*.md] +trim_trailing_whitespace = false diff --git a/.gitignore b/.gitignore index 5b4390f..7821174 100644 --- a/.gitignore +++ b/.gitignore @@ -2,7 +2,6 @@ *# .DS_Store .node_history -.editorconfig npm-debug.log node_modules/*/*