This is an automated email from the git hooks/post-receive script.

guillem pushed a commit to branch main
in repository dpkg.

View the commit online:
https://git.dpkg.org/cgit/dpkg/dpkg.git/commit/?id=00157d871ecc0e43399b06212f91f764cc35c77b

commit 00157d871ecc0e43399b06212f91f764cc35c77b (HEAD -> main)
Author: Guillem Jover <[email protected]>
AuthorDate: Mon Oct 20 00:35:42 2025 +0200

    build: Add an editorconfig file
    
    This describes the general indentation and space style for the various
    files. Although this convention is not rich enough to properly describe
    the actual rules, it's close enough to help external contributors.
---
 .editorconfig | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000..b3b0e5d07
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,27 @@
+# EditorConfig (https://editorconfig.org/)
+
+root = true
+
+[*]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+
+# Makefile
+[{Makefile,*.{mk,am}}]
+indent_style = tab
+
+# Shell
+[*.{sh,ac,at,m4}]
+indent_style = space
+indent_size = 2
+
+# Perl
+[*.{pl,pm,t}]
+indent_style = space
+indent_size = 4
+
+# C/C++
+[*.{c,cc,h}]
+indent_style = tab
+indent_size = 8

-- 
Dpkg.Org's dpkg

Reply via email to