forked from Ponysearch/Ponysearch
[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:
parent
4acb52f68f
commit
8bf2da9ce5
1 changed files with 3 additions and 0 deletions
|
@ -16,6 +16,9 @@ max_line_length = 119
|
||||||
[*.html]
|
[*.html]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
|
|
||||||
|
[*.js]
|
||||||
|
indent_size = 2
|
||||||
|
|
||||||
[*.json]
|
[*.json]
|
||||||
indent_size = 4
|
indent_size = 4
|
||||||
insert_final_newline = ignore
|
insert_final_newline = ignore
|
||||||
|
|
Loading…
Reference in a new issue