Add .editorconfig, improve .dockerignore and .gitignore
Change-Id: I2e20b879e426e55707ec83150d347f7d073bc340
diff --git a/.gitignore b/.gitignore
index ee70e67..9f3c73b 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,8 +1,15 @@
+# Backup files
+*~
+*.bak
+*.orig
+*.rej
+
# Python
build
dist
Mini_NDN.egg-info
-*.pyc
+__pycache__/
+*.py[cod]
# Docs
docs/html
@@ -10,9 +17,17 @@
docs/_build
# Misc
-.DS_Store
-dl
+dl/
*.apconf
# Vagrant
-.vagrant
+.vagrant/
+
+# Visual Studio Code
+.vscode/
+
+# macOS
+.DS_Store
+.AppleDouble
+.LSOverride
+._*