.editorconfig: Add some indentation settings

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer/-/merge_requests/1812>
This commit is contained in:
Jan Alexander Steffens (heftig) 2022-02-28 14:21:52 +01:00 committed by GStreamer Marge Bot
parent 64ad82e00c
commit 64833d2f12

View file

@ -6,3 +6,25 @@ end_of_line = lf
indent_style = space indent_style = space
trim_trailing_whitespace = true trim_trailing_whitespace = true
insert_final_newline = 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