From 4e09ebededdde3689bfcdd1eeed0df669058767c Mon Sep 17 00:00:00 2001 From: Martin Roth Date: Sat, 31 Aug 2019 16:32:11 -0600 Subject: [PATCH] Add .editorconfig file .editorconfig files are widely supported and offer basic configuration options for the project. This sets the indention style, line-ending, character set, tells the editor to make sure there's a newline at the end of the file and to strip trailing whitespace. For directories within the coreboot directory that would prefer a different setting, additional .editorconfig files can be placed in those directories to override any of these settings. See the EditorConfig website for more information. https://web.archive.org/web/https://editorconfig.org Change-Id: Iecf1c5450edb0db533569189aa45233b91997870 Signed-off-by: Martin Roth Reviewed-on: https://review.coreboot.org/c/coreboot/+/35185 Tested-by: build bot (Jenkins) Reviewed-by: Angel Pons Reviewed-by: Patrick Georgi --- .editorconfig | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000000..eb44fcd7e4 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,11 @@ +# EditorConfig: https://EditorConfig.org + +root = true + +[*] +indent_style = tab +tab_width = 8 +charset = utf-8 +insert_final_newline = true +end_of_line = lf +trim_trailing_whitespace = true