From 982881051e65514e654ccfd15475da83d4a7449c Mon Sep 17 00:00:00 2001 From: Yuan Chiu Date: Mon, 28 Apr 2025 19:45:37 +0800 Subject: [PATCH] add editorconfig --- .editorconfig | 27 +++++++++++++++++++++++++++ .editorconfig-checker.json | 5 +++++ 2 files changed, 32 insertions(+) create mode 100644 .editorconfig create mode 100644 .editorconfig-checker.json diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..faf3f33 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,27 @@ +root = true + +[*] +indent_size = 2 +indent_style = space +charset = utf-8 +end_of_line = lf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.ps1] +charset = utf-8 +end_of_line = crlf +insert_final_newline = true +trim_trailing_whitespace = true + +[*.py] +indent_size = 4 +indent_style = space + +[*.sh] +indent_size = 2 +indent_style = space + +[{*.yaml,*.yml}] +indent_size = 2 +indent_style = space diff --git a/.editorconfig-checker.json b/.editorconfig-checker.json new file mode 100644 index 0000000..9368536 --- /dev/null +++ b/.editorconfig-checker.json @@ -0,0 +1,5 @@ +{ + "Exclude": [ + "^completions/" + ] +}