diff options
| -rw-r--r-- | .editorconfig | 21 | ||||
| -rw-r--r-- | .gitignore | 1 |
2 files changed, 22 insertions, 0 deletions
diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..e66b1ca3 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,21 @@ +# SPDX-License-Identifier: GPL-2.0-only +# See here for more information about the format and editor support: +# https://editorconfig.org/ + +root = true + +[{*.{c,dts,h,lds,ldS,mk,s,S},Kconfig,Makefile,Makefile.*}] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = tab +indent_size = 8 + +[*.py] +charset = utf-8 +end_of_line = lf +trim_trailing_whitespace = true +insert_final_newline = true +indent_style = space +indent_size = 4 @@ -5,6 +5,7 @@ !.clang-format !.gitignore !.github +!.editorconfig # Object files *.o |
