diff options
author | Rebecca Cran <rebecca@bsdio.com> | 2023-03-01 10:19:50 -0800 |
---|---|---|
committer | mergify[bot] <37929162+mergify[bot]@users.noreply.github.com> | 2023-09-08 18:56:52 +0000 |
commit | d42ad81e2247bc6f1c30ef7be5fafc6fcfa0dfb9 (patch) | |
tree | 012ad625cbefac4b7f34b4745dddcf674d91955b /.editorconfig | |
parent | 28a74d7ab22a33e3915eb747879d58797718f6f2 (diff) | |
download | edk2-d42ad81e2247bc6f1c30ef7be5fafc6fcfa0dfb9.tar.gz |
Add a .editorconfig file to tell editors basic formatting details
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>
Reviewed-by: Ard Biesheuvel <ardb@kernel.org>
Acked-by: Michael D Kinney <michael.d.kinney@intel.com>
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 31 |
1 files changed, 31 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..bbc7cf80d6 --- /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
|