From: "Rebecca Cran" <rebecca@bsdio.com>
To: devel@edk2.groups.io, Andrew Fish <afish@apple.com>,
Leif Lindholm <quic_llindhol@quicinc.com>,
Michael D Kinney <michael.d.kinney@intel.com>
Cc: Rebecca Cran <rebecca@bsdio.com>
Subject: [PATCH 1/1] Add a .editorconfig file to tell editors basic formatting details
Date: Sun, 26 Feb 2023 20:47:02 -0700 [thread overview]
Message-ID: <20230227034702.82215-1-rebecca@bsdio.com> (raw)
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)
next reply other threads:[~2023-02-27 3:47 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-02-27 3:47 Rebecca Cran [this message]
2023-02-27 8:04 ` [edk2-devel] [PATCH 1/1] Add a .editorconfig file to tell editors basic formatting details 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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-list from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20230227034702.82215-1-rebecca@bsdio.com \
--to=devel@edk2.groups.io \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox