summaryrefslogtreecommitdiff
path: root/.editorconfig
diff options
context:
space:
mode:
Diffstat (limited to '.editorconfig')
-rw-r--r--.editorconfig22
1 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig
index f4e17c9d05..0583349e41 100644
--- a/.editorconfig
+++ b/.editorconfig
@@ -6,3 +6,25 @@ end_of_line = lf
indent_style = space
trim_trailing_whitespace = true
insert_final_newline = true
+indent_size = 2
+max_line_length = 80
+
+# PEP 8
+[*.py]
+indent_size = 4
+max_line_length = 79
+
+# rustfmt defaults
+[*.rs]
+indent_size = 4
+max_line_length = 100
+
+# From gst-examples
+[*.js]
+indent_size = 4
+max_line_length = 80
+
+[{Makefile,Makefile.am}]
+indent_style = tab
+indent_size = tab
+tab_width = 8