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>,
Ard Biesheuvel <ardb@kernel.org>
Cc: Rebecca Cran <rebecca@bsdio.com>
Subject: [PATCH v2 1/1] Add a .editorconfig file to tell editors basic formatting details
Date: Wed, 1 Mar 2023 11:19:50 -0700 [thread overview]
Message-ID: <20230301181950.46543-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 | 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)
next reply other threads:[~2023-03-01 18:19 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2023-03-01 18:19 Rebecca Cran [this message]
2023-03-01 22:11 ` [PATCH v2 1/1] Add a .editorconfig file to tell editors basic formatting details 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
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=20230301181950.46543-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