mirror of
https://gitlab.freedesktop.org/pipewire/pipewire
synced 2024-10-06 16:09:43 +00:00
add .editorconfig files
These files help editors choose the correct coding style conventions, mostly useful for the indentation style Pipewire uses tab characters of size 8 in all of its codebase except in the meson files and in the gstreamer plugins, which use 2-space indentation
This commit is contained in:
parent
ac5ec9bbe2
commit
ba653fccfc
15
.editorconfig
Normal file
15
.editorconfig
Normal file
|
@ -0,0 +1,15 @@
|
|||
# http://editorconfig.org
|
||||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = tab
|
||||
indent_size = 8
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
|
||||
# Use 2 spaces for meson files
|
||||
[*.build]
|
||||
indent_style = space
|
||||
indent_size = 2
|
7
src/gst/.editorconfig
Normal file
7
src/gst/.editorconfig
Normal file
|
@ -0,0 +1,7 @@
|
|||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
Loading…
Reference in a new issue