From 947b0c7952b0ab5880904881e97cf3ac7fe1cec2 Mon Sep 17 00:00:00 2001 From: Andrey Borysenko Date: Mon, 4 Dec 2023 11:30:45 +0300 Subject: [PATCH] add basic .editorconfig (#140) Signed-off-by: Andrey Borysenko --- .editorconfig | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..ea18793d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,29 @@ +# https://editorconfig.org + +root = true + +[*] +charset = utf-8 +end_of_line = lf +indent_size = 4 +indent_style = tab +insert_final_newline = true +trim_trailing_whitespace = true + +[*.yml] +indent_size = 2 +indent_style = space + +[*.md] +trim_trailing_whitespace = false + +[*.svg] +insert_final_newline = false + +[package*.json] +indent_size = 2 +indent_style = space + +[tests/psalm-baseline.xml] +indent_size = 2 +indent_style = space