]> git.immae.eu Git - github/shaarli/Shaarli.git/blobdiff - .editorconfig
Add EditorConfig configuration
[github/shaarli/Shaarli.git] / .editorconfig
diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..5abbd7b
--- /dev/null
@@ -0,0 +1,23 @@
+# EditorConfig: http://EditorConfig.org
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = space
+indent_size = 4
+
+[*.{html,xml}]
+indent_size = 2
+
+[*.php]
+max_line_length = 100
+
+[Dockerfile]
+max_line_length = 80
+
+[Makefile]
+indent_style = tab