From 05bbdebeaa19f4aab70656c62808d74196857f88 Mon Sep 17 00:00:00 2001 From: fiskhandlarn Date: Fri, 28 Nov 2025 10:47:22 +0100 Subject: [PATCH] feat: disallow final newline for files generated by python if any of these files have ending newlines the tests will fail --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 589f816..ef3e1a7 100644 --- a/.editorconfig +++ b/.editorconfig @@ -4,3 +4,6 @@ root = true end_of_line = lf insert_final_newline = true trim_trailing_whitespace = true + +[{Caddyfile,haproxy-block-ai-bots.txt,nginx-block-ai-bots.conf}] +insert_final_newline = false