Skip to contentSkip to conversation

add an editorconfig file

PATCH In review Rahul Sandhu 2 participants 3 messages Oct 18, 2025 – Oct 21, 2025 SELinux security module

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 add an editorconfig file

editorconfig is a standardised way to configure editors for a project. Based off the Linux kernel .editorconfig file.

---
 .editorconfig | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 .editorconfig
.editorconfig new file +17 -0
new file mode 100644
index 00000000..2a2282df
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+root = true
+
+[{*.{c,h,mk},Makefile,Makefile.*}]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+indent_style = tab
+indent_size = 8
+
+[*.py]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+indent_size = 4
Signature · 1 line
2.51.0
maintainer Acked-by on v1 1/1
#1 lore raw
Quoted 5 lines · Rahul Sandhu

editorconfig is a standardised way to configure editors for a project. Based off the Linux kernel .editorconfig file.

Quoted 32 lines
---
 .editorconfig | 17 +++++++++++++++++
 1 file changed, 17 insertions(+)
 create mode 100644 .editorconfig
.editorconfig new file +17 -1
new file mode 100644
index 00000000..2a2282df
@@ -0,0 +1,17 @@
+# SPDX-License-Identifier: GPL-2.0-only
+
+root = true
+
+[{*.{c,h,mk},Makefile,Makefile.*}]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+indent_style = tab
+indent_size = 8
+
+[*.py]
+charset = utf-8
+end_of_line = lf
+insert_final_newline = true
+indent_style = space
+indent_size = 4
--

2.51.0