From ed7b71a1906dd1fc013b5db17de144af96db6666 Mon Sep 17 00:00:00 2001 From: Mark Sagi-Kazar Date: Tue, 3 Nov 2020 20:37:38 +0100 Subject: [PATCH] chore: add editorconfig Signed-off-by: Mark Sagi-Kazar --- .editorconfig | 15 +++++++++++++++ .github/workflows/.editorconfig | 2 +- scripts/manifests/.editorconfig | 2 ++ 3 files changed, 18 insertions(+), 1 deletion(-) create mode 100644 .editorconfig create mode 100644 scripts/manifests/.editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..6ccdbfc9 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = space +insert_final_newline = true +trim_trailing_whitespace = true + +[*.go] +indent_style = tab + +[*.proto] +indent_size = 2 diff --git a/.github/workflows/.editorconfig b/.github/workflows/.editorconfig index 7bd3346f..0902c6ae 100644 --- a/.github/workflows/.editorconfig +++ b/.github/workflows/.editorconfig @@ -1,2 +1,2 @@ -[*.yml] +[{*.yml,*.yaml}] indent_size = 2 diff --git a/scripts/manifests/.editorconfig b/scripts/manifests/.editorconfig new file mode 100644 index 00000000..0902c6ae --- /dev/null +++ b/scripts/manifests/.editorconfig @@ -0,0 +1,2 @@ +[{*.yml,*.yaml}] +indent_size = 2