Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use editor configuration

Peter van der Does46119373e487
diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..fc8f0f0b4
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,27 @@
+# EditorConfig: http://EditorConfig.org
+#
+# This is the top-most .editorconfig file; do not search in parent directories.
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+trim_trailing_whitespace = true
+indent_style = tab
+
+[*.js]
+indent_style = space
+indent_size = 2
+
+[.eslintignore]
+indent_style = space
+indent_size = 2
+
+[*.json]
+indent_style = space
+indent_size = 2
+
+[*.yml]
+indent_style = space
+indent_size = 2