public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH v2 1/1] Add a .editorconfig file to tell editors basic formatting details
@ 2023-03-01 18:19 Rebecca Cran
  2023-03-01 22:11 ` Ard Biesheuvel
  0 siblings, 1 reply; 9+ messages in thread
From: Rebecca Cran @ 2023-03-01 18:19 UTC (permalink / raw)
  To: devel, Andrew Fish, Leif Lindholm, Michael D Kinney,
	Ard Biesheuvel
  Cc: Rebecca Cran

Add a .editorconfig file which editors can use for basic formatting
details of files, such as tabs/spaces, line endings etc.

Signed-off-by: Rebecca Cran <rebecca@bsdio.com>
---
 .editorconfig | 31 ++++++++++++++++++++
 1 file changed, 31 insertions(+)

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000000..587d5bbaa884
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,31 @@
+# EditorConfig file: https://EditorConfig.org
+
+root = true
+
+[*]
+charset = latin1
+end_of_line = crlf
+indent_style = space
+indent_size = 2
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.py]
+charset = utf-8
+indent_style = space
+indent_size = 4
+
+[*.sh]
+end_of_line = lf
+
+[.gitattributes]
+end_of_line = lf
+
+[.mailmap]
+charset = utf-8
+
+[Maintainers.txt]
+charset = utf-8
+
+[Makefile,GNUmakefile]
+indent_style = tab
-- 
2.37.1 (Apple Git-137.1)


^ permalink raw reply related	[flat|nested] 9+ messages in thread

end of thread, other threads:[~2023-09-08 19:19 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-03-01 18:19 [PATCH v2 1/1] Add a .editorconfig file to tell editors basic formatting details Rebecca Cran
2023-03-01 22:11 ` Ard Biesheuvel
2023-09-08 15:14   ` [edk2-devel] " Ard Biesheuvel
2023-09-08 15:54     ` Michael D Kinney
2023-09-08 16:21       ` Ard Biesheuvel
2023-09-08 16:31         ` Rebecca Cran
2023-09-08 16:31         ` Michael D Kinney
2023-09-08 17:07           ` Rebecca Cran
2023-09-08 19:19             ` Michael D Kinney

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox