.editorconfig: Add some indentation settings
authorJan Alexander Steffens (heftig) <jan.steffens@ltnglobal.com>
Mon, 28 Feb 2022 13:21:52 +0000 (14:21 +0100)
committerGStreamer Marge Bot <gitlab-merge-bot@gstreamer-foundation.org>
Tue, 14 Jun 2022 14:53:07 +0000 (14:53 +0000)
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1812>

.editorconfig

index f4e17c9d054fc9d3fc7b578868739f5b449de1da..0583349e41897c80b09d1f003a999c0fbbaa7d17 100644 (file)
@@ -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