On Wed, 1 Mar 2023 at 19:19, Rebecca Cran <[email protected]> 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 <[email protected]>
Reviewed-by: Ard Biesheuvel <[email protected]> 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) > -=-=-=-=-=-=-=-=-=-=-=- Groups.io Links: You receive all messages sent to this group. View/Reply Online (#100612): https://edk2.groups.io/g/devel/message/100612 Mute This Topic: https://groups.io/mt/97321658/21656 Group Owner: [email protected] Unsubscribe: https://edk2.groups.io/g/devel/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
