add an editorconfig file
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.
Signed-off-by Rahul Sandhu <[email protected]>
--- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig
.editorconfig new file +17 -0
@@ -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
Quoted 5 lines · Rahul Sandhu
editorconfig is a standardised way to configure editors for a project. Based off the Linux kernel .editorconfig file.
Signed-off-by Rahul Sandhu <[email protected]>
Acked-by Stephen Smalley <[email protected]>
Quoted 32 lines
--- .editorconfig | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 .editorconfig.editorconfig new file +17
-1@@ -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
Stephen Smalley
maintainerQuoted 9 lines · Stephen Smalley
Quoted 5 lines · Rahul Sandhu
editorconfig is a standardised way to configure editors for a project. Based off the Linux kernel .editorconfig file.
Signed-off-by Rahul Sandhu <[email protected]>Acked-by Stephen Smalley <[email protected]>
Thanks, merged.