Merge pull request #1142 from SethFalco/editorconfig

chore: add editorconfig
pull/1141/head
Siddharth Dushantha 3 years ago committed by GitHub
commit 43893955f1
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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: with open("sherlock/resources/data.json", "w") as data_file:
data_file.write(sorted_json_data) data_file.write(sorted_json_data)
data_file.write('\n')
print("Finished updating supported site listing!") print("Finished updating supported site listing!")

Loading…
Cancel
Save