From 930e515a4c8827457d5741f9f1a43a3ee991664a Mon Sep 17 00:00:00 2001 From: Yaksh Bariya Date: Thu, 21 Mar 2024 17:31:21 +0530 Subject: [PATCH] [enh] add editorconfig rules for javascript files SearXNG has a bunch of javascript files which have an indentation of two, but the '*' rule tells my editor to use 4 spaces. --- .editorconfig | 3 +++ 1 file changed, 3 insertions(+) diff --git a/.editorconfig b/.editorconfig index 5617a5ba2..bef927ca9 100644 --- a/.editorconfig +++ b/.editorconfig @@ -16,6 +16,9 @@ max_line_length = 119 [*.html] indent_size = 4 +[*.js] +indent_size = 2 + [*.json] indent_size = 4 insert_final_newline = ignore