diff options
author | Yaksh Bariya <yakshbari4@gmail.com> | 2024-03-21 17:31:21 +0530 |
---|---|---|
committer | Markus Heiser <markus.heiser@darmarIT.de> | 2024-04-08 09:07:45 +0200 |
commit | 8bf2da9ce5cc9ef56d3cfd7c62c79cfa3f8e0c05 (patch) | |
tree | d3413b1de5e79006a7f5eb35b90354b1ac37d0b4 /.editorconfig | |
parent | 4acb52f68f5a40408b8331686111658a1030de0b (diff) | |
download | searxng-8bf2da9ce5cc9ef56d3cfd7c62c79cfa3f8e0c05.tar.gz searxng-8bf2da9ce5cc9ef56d3cfd7c62c79cfa3f8e0c05.zip |
[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.
Diffstat (limited to '.editorconfig')
-rw-r--r-- | .editorconfig | 3 |
1 files changed, 3 insertions, 0 deletions
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 |