public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
* [PATCH 1/1] Add a .editorconfig file to tell editors basic formatting details
@ 2023-02-27  3:47 Rebecca Cran
  2023-02-27  8:04 ` [edk2-devel] " Ard Biesheuvel
  0 siblings, 1 reply; 14+ messages in thread
From: Rebecca Cran @ 2023-02-27  3:47 UTC (permalink / raw)
  To: devel, Andrew Fish, Leif Lindholm, Michael D Kinney; +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 | 21 ++++++++++++++++++++
 1 file changed, 21 insertions(+)

diff --git a/.editorconfig b/.editorconfig
new file mode 100644
index 000000000000..f2651d7ad871
--- /dev/null
+++ b/.editorconfig
@@ -0,0 +1,21 @@
+# EditorConfig file: https://EditorConfig.org
+
+root = true
+
+[*]
+charset = latin1
+end_of_line = crlf
+insert_final_newline = true
+trim_trailing_whitespace = true
+
+[*.py]
+charset = utf-8
+indent_style = space
+indent_size = 4
+
+[Makefile,GNUmakefile]
+indent_style = tab
+
+[*.{c,h,cpp,cc}]
+indent_style = space
+indent_size = 2
-- 
2.37.1 (Apple Git-137.1)


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

end of thread, other threads:[~2023-03-01  3:27 UTC | newest]

Thread overview: 14+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2023-02-27  3:47 [PATCH 1/1] Add a .editorconfig file to tell editors basic formatting details Rebecca Cran
2023-02-27  8:04 ` [edk2-devel] " Ard Biesheuvel
2023-02-27 13:02   ` Rebecca Cran
2023-02-27 16:14     ` Michael D Kinney
2023-02-27 16:35       ` Rebecca Cran
2023-02-27 18:18         ` Ard Biesheuvel
2023-02-27 18:22           ` Michael D Kinney
2023-02-27 18:23             ` Michael D Kinney
2023-02-28 18:20               ` Rebecca Cran
2023-02-28 18:53                 ` Ard Biesheuvel
2023-02-28 21:32                 ` Michael D Kinney
2023-03-01  3:22                   ` Rebecca Cran
2023-03-01  3:27                     ` Michael D Kinney
2023-02-28  6:43             ` Rebecca Cran

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