From d409c85e0f9625169097deda52b1b7e2eb7eb1c2 Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Wed, 9 Oct 2024 08:49:53 +0200 Subject: [PATCH 1/2] fix too many empty lines added to .editorconfig file --- nf_core/pipeline-template/.editorconfig | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nf_core/pipeline-template/.editorconfig b/nf_core/pipeline-template/.editorconfig index 1db986f5b..c78ec8e96 100644 --- a/nf_core/pipeline-template/.editorconfig +++ b/nf_core/pipeline-template/.editorconfig @@ -11,7 +11,7 @@ indent_style = space [*.{md,yml,yaml,html,css,scss,js}] indent_size = 2 -{% if modules %} +{% if modules -%} # These files are edited and tested upstream in nf-core/modules [/modules/nf-core/**] charset = unset @@ -25,12 +25,12 @@ end_of_line = unset insert_final_newline = unset trim_trailing_whitespace = unset indent_style = unset -{% endif %} +{%- endif %} -{% if email %} +{% if email -%} [/assets/email*] indent_size = unset -{% endif %} +{%- endif %} # ignore python and markdown [*.{py,md}] From f27f79608c4397270e4fb8b65085b59c54717abc Mon Sep 17 00:00:00 2001 From: mirpedrol Date: Wed, 9 Oct 2024 08:51:37 +0200 Subject: [PATCH 2/2] update changelog --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 709e7b6ea..a953a539e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,7 @@ ### Bug fixes - Fixed an issue where the linting CI action didn't read the correct file +- Fix too many empty lines added to .editorconfig file ([#3204](https://github.com/nf-core/tools/pull/3204)) ## [v3.0.0 - Titanium Tapir](https://github.com/nf-core/tools/releases/tag/3.0.0) - [2024-10-08]