From 1d914bc2f1ef2e50d0499227eaceb2a421575ede Mon Sep 17 00:00:00 2001 From: Martin Weinelt Date: Wed, 14 Jan 2026 22:45:20 +0100 Subject: [PATCH] .editorconfig: don't force final newline for JSON JSON is often automatically generated and adding a final newline is a manual step, that we shouldn't enforce. --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 6844b559c7b5..3a2159d33734 100644 --- a/.editorconfig +++ b/.editorconfig @@ -64,6 +64,9 @@ insert_final_newline = unset end_of_line = unset trim_trailing_whitespace = unset +[*.json] +insert_final_newline = unset + [*.lock] indent_size = unset