public inbox for devel@edk2.groups.io
 help / color / mirror / Atom feed
From: "Ard Biesheuvel" <ardb@kernel.org>
To: devel@edk2.groups.io, rebecca@bsdio.com
Cc: Andrew Fish <afish@apple.com>,
	Leif Lindholm <quic_llindhol@quicinc.com>,
	 Michael D Kinney <michael.d.kinney@intel.com>
Subject: Re: [edk2-devel] [PATCH 1/1] Add a .editorconfig file to tell editors basic formatting details
Date: Mon, 27 Feb 2023 09:04:01 +0100	[thread overview]
Message-ID: <CAMj1kXH8OMg=2WmwdMwQ4BQKT21sYwFwQ64i9Czmaf2eSWOVBg@mail.gmail.com> (raw)
In-Reply-To: <20230227034702.82215-1-rebecca@bsdio.com>

On Mon, 27 Feb 2023 at 04:47, Rebecca Cran <rebecca@bsdio.com> wrote:
>
> 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>

Thank you very much for this - this is very useful.

Acked-by: Ard Biesheuvel <ardb@kernel.org>

Could we add .dsc/.inf/.dec/etc files as well?

> ---
>  .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)
>
>
>
> 
>
>

  reply	other threads:[~2023-02-27  8:04 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
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 ` Ard Biesheuvel [this message]
2023-02-27 13:02   ` [edk2-devel] " 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='CAMj1kXH8OMg=2WmwdMwQ4BQKT21sYwFwQ64i9Czmaf2eSWOVBg@mail.gmail.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