From 175f6a15976352044d7b2d0f9be441e066602f4f Mon Sep 17 00:00:00 2001 From: inference Date: Thu, 15 Feb 2024 08:24:34 +0000 Subject: [PATCH] Add ".editorconfig" This allows customisation of the behaviour of the front-end in regards to indent styles and indent sizes, among other options. --- .editorconfig | 28 ++++++++++++++++++++++++++++ 1 file changed, 28 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..3db7380 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,28 @@ +root = true + +[*] +indent_style = tab +indent_size = 4 +tab_width = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = false + +[*.{go,tmpl,html}] +indent_style = tab + +[templates/custom/*.tmpl] +insert_final_newline = false + +[templates/swagger/v1_json.tmpl] +indent_style = space + +[templates/user/auth/oidc_wellknown.tmpl] +indent_style = space + +[Makefile] +indent_style = tab + +[*.svg] +insert_final_newline = false