chore: add editorconfig
This commit is contained in:
parent
7d42be795f
commit
fbf879611b
|
|
@ -0,0 +1,16 @@
|
|||
root = true
|
||||
|
||||
[*]
|
||||
indent_style = space
|
||||
indent_size = 2
|
||||
end_of_line = lf
|
||||
charset = utf-8
|
||||
trim_trailing_whitespace = true
|
||||
insert_final_newline = true
|
||||
curly_bracket_next_line = false
|
||||
|
||||
[*.{markdown,md}]
|
||||
trim_trailing_whitespace = false
|
||||
|
||||
[*.py]
|
||||
indent_size = 4
|
||||
|
|
@ -25,5 +25,6 @@ sorted_json_data = json.dumps(data, indent=2, sort_keys=True)
|
|||
|
||||
with open("sherlock/resources/data.json", "w") as data_file:
|
||||
data_file.write(sorted_json_data)
|
||||
data_file.write('\n')
|
||||
|
||||
print("Finished updating supported site listing!")
|
||||
|
|
|
|||
Loading…
Reference in New Issue