cordova-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ste...@apache.org
Subject [08/11] git commit: add .editorconfig
Date Mon, 05 May 2014 23:43:14 GMT
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 <maxim.ermilov@canonical.com>
Authored: Fri Apr 25 14:23:58 2014 +0400
Committer: Maxim Ermilov <maxim.ermilov@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


Mime
View raw message