mirror of
https://gitlab.freedesktop.org/pipewire/pipewire.git
synced 2025-10-29 05:40:27 -04: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
|
||||
Loading…
Add table
Add a link
Reference in a new issue