You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cordova.apache.org by st...@apache.org on 2014/05/06 01:43:14 UTC

[08/11] git commit: add .editorconfig

add .editorconfig


Project: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/repo
Commit: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/commit/02f83631
Tree: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/tree/02f83631
Diff: http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/diff/02f83631

Branch: refs/heads/master
Commit: 02f836318184a123fba9c0b9f1725d6734cd5066
Parents: 0c28378
Author: Maxim Ermilov <ma...@canonical.com>
Authored: Fri Apr 25 14:23:58 2014 +0400
Committer: Maxim Ermilov <ma...@canonical.com>
Committed: Fri Apr 25 14:23:58 2014 +0400

----------------------------------------------------------------------
 .editorconfig | 25 +++++++++++++++++++++++++
 1 file changed, 25 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/cordova-ubuntu/blob/02f83631/.editorconfig
----------------------------------------------------------------------
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 0000000..7fe54e5
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,25 @@
+# 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
+charset = utf-8
+
+# 4 space indentation
+[*.cpp]
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+
+[*.h]
+indent_style = space
+indent_size = 4
+trim_trailing_whitespace = true
+
+[*.js]
+indent_style = space
+indent_size = 4