OSDN Git Service

Create .configeditor to standardization of editors
authorJefersson Nathan <admin@phpse.net>
Sun, 16 Feb 2014 16:32:42 +0000 (14:32 -0200)
committerJefersson Nathan <admin@phpse.net>
Sun, 16 Feb 2014 16:32:42 +0000 (14:32 -0200)
The EditorConfig helps set and maintain consistent styles of code among several editors. It is a simple file that stores the settings of coding style, your favorite editor reads these settings and understands exactly what setting to use for each file format.

More info: http://editorconfig.org

.editorconfig [new file with mode: 0644]

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..bca3f40
--- /dev/null
@@ -0,0 +1,13 @@
+root = true
+
+[*]
+end_of_line = lf
+insert_final_newline = false
+
+[*.php]
+indent_style = space
+indent_size = 4
+
+[*.yaml]
+indent_style = space
+indent_size = 2