diff options
author | Martin Roth <martin@coreboot.org> | 2019-08-31 16:32:11 -0600 |
---|---|---|
committer | Patrick Georgi <pgeorgi@google.com> | 2019-09-10 12:52:18 +0000 |
commit | 4e09ebededdde3689bfcdd1eeed0df669058767c (patch) | |
tree | 75bd361730e5ad1b49400b707bf136c64fbb08b7 | |
parent | d57ace259ad89ccba0b2e72036d84ff4016b1d32 (diff) | |
download | coreboot-4e09ebededdde3689bfcdd1eeed0df669058767c.tar.xz |
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 <martin@coreboot.org>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/35185
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Angel Pons <th3fanbus@gmail.com>
Reviewed-by: Patrick Georgi <pgeorgi@google.com>
-rw-r--r-- | .editorconfig | 11 |
1 files changed, 11 insertions, 0 deletions
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 |