mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-12-16 08:56:45 -05: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
2 changed files with 22 additions and 0 deletions
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…
Add table
Add a link
Reference in a new issue