From 56a388ccf138393a3ee0b3cd1daf34bd95c5e510 Mon Sep 17 00:00:00 2001 From: ioanok Date: Wed, 27 Nov 2024 12:43:32 +0200 Subject: [PATCH] fix: Make coding styles consistent with the Shopware platform (#146) --- .editorconfig | 19 +++++++++++-------- 1 file changed, 11 insertions(+), 8 deletions(-) diff --git a/.editorconfig b/.editorconfig index ff1b3a7..9527533 100644 --- a/.editorconfig +++ b/.editorconfig @@ -1,14 +1,17 @@ -; top-most EditorConfig file +# Shopware recipes editor configuration normalization +# http://editorconfig.org/ + +# This is the top-most .editorconfig file; do not search in parent directories. root = true -; Unix-style newlines +# All files. [*] -end_of_line = LF - -[*.{yml,yaml}] +end_of_line = lf indent_style = space indent_size = 4 +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true -[*.json] -indent_style = space -indent_size = 4 \ No newline at end of file +[*.md] +trim_trailing_whitespace = false