Update .gitignore and add .editorconfig (#21)
authorAndréas Lundgren <Adevade@users.noreply.github.com>
Wed, 28 Sep 2016 03:38:34 +0000 (05:38 +0200)
committeranuko <support@anuko.com>
Wed, 28 Sep 2016 03:38:34 +0000 (03:38 +0000)
* Update .gitignore with compiled files and some OS specific files

* Remove all files from templates_c (exept keepme file).
* Remove some system files from Windows, Linux and macOS.

* Add an .editorconfig file

Makes it easier to contribute to the project

.editorconfig [new file with mode: 0644]
.gitignore

diff --git a/.editorconfig b/.editorconfig
new file mode 100644 (file)
index 0000000..697c76f
--- /dev/null
@@ -0,0 +1,11 @@
+# http://editorconfig.org
+
+root = true
+
+[*]
+charset = utf-8
+indent_style = space
+indent_size = 2
+end_of_line = lf
+trim_trailing_whitespace = false
+insert_new_final_line = false
index 8f4d269..9bfa047 100644 (file)
@@ -1,7 +1,9 @@
 config.php
-WEB-INF/templates_c/*.php
-WEB-INF/templates_c/*.png
+WEB-INF/templates_c/*.*
 WEB-INF/lib/tcpdf/
 nbproject/
 upload/
 .vscode/
+Thumbs.db
+*.DS_Store
+*~