From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from dfw.source.kernel.org (dfw.source.kernel.org [139.178.84.217]) by mx.groups.io with SMTP id smtpd.web10.85488.1677485055698714202 for ; Mon, 27 Feb 2023 00:04:15 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=MqDU27l0; spf=pass (domain: kernel.org, ip: 139.178.84.217, mailfrom: ardb@kernel.org) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by dfw.source.kernel.org (Postfix) with ESMTPS id 1BE8B60DB5 for ; Mon, 27 Feb 2023 08:04:15 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 86139C433A1 for ; Mon, 27 Feb 2023 08:04:14 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677485054; bh=d2tSzLT/AQlrEowXemIQC6GCfCc5MxxBdrgMqFEXMfk=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=MqDU27l0EBr2NX8gf6RgRjL4f2jyNw0Zr19Lw/SUGGQRHsava7vZ24bMdhwaylkho QCaOkvSO8T7GPFeyLI4IKgtYFvAKqb0QqkZ4doND5OvvKGZJ+8U/XDtp7wPFepainE p/fUoBsxFppbKgHvSl7y1OOvXGEC94hwc2fZvowFkY7gLIxCSvd41QDwE9prWDf6b4 K8EpggfKqjrURp97s5HzGJ5vW33tpYn2VzNu7XgAxHphWwNyDNVoPE99L9FGPySW64 lohN9SPAxDrC3oXnzsZjZr0IQMaJKTtzWOPoW2BZFtN8liICd+YUxUXp7EfGi9gSoM SV0Bmijw5gOeg== Received: by mail-lf1-f48.google.com with SMTP id t11so7407456lfr.1 for ; Mon, 27 Feb 2023 00:04:14 -0800 (PST) X-Gm-Message-State: AO0yUKWRwgNHgU33f4+FoYWB7w3Hp0SLv/lQ5d2EkaP9xx5egX/0oFDl 9ot1qg0D5Scm9KpygeK44qlLkRvl51sbR0Jpa6c= X-Google-Smtp-Source: AK7set+ObxWNzGWWe8JX6iNM55h8MVEEkMb2zZqzO0+8LmzvWGUxWBOuHYTO+7dvFCTP/PxJNN5voVAx7MGzT0a8G4k= X-Received: by 2002:a05:6512:15c:b0:4d5:ca42:aee7 with SMTP id m28-20020a056512015c00b004d5ca42aee7mr7228511lfo.7.1677485052512; Mon, 27 Feb 2023 00:04:12 -0800 (PST) MIME-Version: 1.0 References: <20230227034702.82215-1-rebecca@bsdio.com> In-Reply-To: <20230227034702.82215-1-rebecca@bsdio.com> From: "Ard Biesheuvel" Date: Mon, 27 Feb 2023 09:04:01 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [edk2-devel] [PATCH 1/1] Add a .editorconfig file to tell editors basic formatting details To: devel@edk2.groups.io, rebecca@bsdio.com Cc: Andrew Fish , Leif Lindholm , Michael D Kinney Content-Type: text/plain; charset="UTF-8" On Mon, 27 Feb 2023 at 04:47, Rebecca Cran 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 Thank you very much for this - this is very useful. Acked-by: Ard Biesheuvel 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) > > > > > >