From 8bf2da9ce5cc9ef56d3cfd7c62c79cfa3f8e0c05 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