chore: add editorconfig

pull/1142/head
Seth Falco 3 years ago
parent 7d42be795f
commit fbf879611b
No known key found for this signature in database
GPG Key ID: DE1C217EFF01FEC8

@ -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…
Cancel
Save