[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.
This commit is contained in:
Yaksh Bariya 2024-03-21 17:31:21 +05:30
parent b21aaa8907
commit 930e515a4c
No known key found for this signature in database
GPG key ID: F7486BA7D3D27581

View file

@ -16,6 +16,9 @@ max_line_length = 119
[*.html]
indent_size = 4
[*.js]
indent_size = 2
[*.json]
indent_size = 4
insert_final_newline = ignore