From 1447aac3f68b80b5bad4a2cd7852aedc35593c0f Mon Sep 17 00:00:00 2001 From: Lucien Cartier-Tilet Date: Mon, 27 Feb 2023 22:45:56 +0100 Subject: [PATCH] chore(docs): add editorconfig file For now, it only applies to web-related files Signed-off-by: Lucien Cartier-Tilet --- .editorconfig | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..bd45cca --- /dev/null +++ b/.editorconfig @@ -0,0 +1,15 @@ +root = true + +# Unix-style newlines with a newline ending every file +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +trim_trailing_whitespace = true + +[*.{json,ts,css}] +indent_style = space +indent_size = 2 + +[*.ts] +quote_type = single