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.web11.1827.1677708719653879642 for ; Wed, 01 Mar 2023 14:11:59 -0800 Authentication-Results: mx.groups.io; dkim=pass header.i=@kernel.org header.s=k20201202 header.b=HvvldYoc; 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 C2A97614D7 for ; Wed, 1 Mar 2023 22:11:58 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 951AFC433D2 for ; Wed, 1 Mar 2023 22:11:58 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1677708718; bh=bEvhvnLBormcOfGWV/T0q0GKWPEoqgii/fCFWXtqdLs=; h=References:In-Reply-To:From:Date:Subject:To:Cc:From; b=HvvldYocM+vvnRsuxxswPqumSpLUcoUau6ZjahAyZoFD27VQSofB6ZlVJpCQAyMXG dGDX4LuAqJWRkw8JBORdM52oAGIvsWZrQK+FiDE7cm3wsrSGhu6S3gKrlGQrJmiIpB qN+qhtSAweYRKizvPtBrn2Qsw1zOmX0YcQM6x5A9+ftCK1anPhA+y7JTzQr3gacqIb Q4SFHo0b9SotnsxzW4+dS0mv2wzgGPBLp/hE+OkIwRAf2pDEEfpULxAMSdHG6QO93d 5iLRDmVs2IrQdydQb/D2Iaq4ks6sCE+YXL9MaXKicuSNYlJlubHiJpllGqpuVP/eh2 SuQg/y8VvZOkw== Received: by mail-lj1-f176.google.com with SMTP id b13so15640184ljf.6 for ; Wed, 01 Mar 2023 14:11:58 -0800 (PST) X-Gm-Message-State: AO0yUKU+1odjrUHTN/orKZsMNikbq+SGZDAf+VtZbiABEvtBUusuDGd2 yRcN+MvY+NbxAnCobyt1N5L3zFT911b30bgTifI= X-Google-Smtp-Source: AK7set8keidolSmOEmtoTKfjtC/HXXFAXJ3b5zKW11ONhl31snleGToIak4Fj3fqM44QlK+eM1dCZnIeiqQgIPHJ9hs= X-Received: by 2002:a2e:a4d0:0:b0:28e:d4ae:90ab with SMTP id p16-20020a2ea4d0000000b0028ed4ae90abmr2541731ljm.2.1677708716568; Wed, 01 Mar 2023 14:11:56 -0800 (PST) MIME-Version: 1.0 References: <20230301181950.46543-1-rebecca@bsdio.com> In-Reply-To: <20230301181950.46543-1-rebecca@bsdio.com> From: "Ard Biesheuvel" Date: Wed, 1 Mar 2023 23:11:45 +0100 X-Gmail-Original-Message-ID: Message-ID: Subject: Re: [PATCH v2 1/1] Add a .editorconfig file to tell editors basic formatting details To: Rebecca Cran Cc: devel@edk2.groups.io, Andrew Fish , Leif Lindholm , Michael D Kinney Content-Type: text/plain; charset="UTF-8" On Wed, 1 Mar 2023 at 19:19, 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 Reviewed-by: Ard Biesheuvel Thanks! > --- > .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) >