add editorconfig config, fix issues (only whitespace changes) (#1958)

This commit is contained in:
Pavol Rusnak 2023-09-25 12:06:25 +02:00 committed by GitHub
parent 193c751670
commit bd1db0c919
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 58 additions and 41 deletions

14
.editorconfig Normal file
View File

@ -0,0 +1,14 @@
# Top-most EditorConfig file
root = true
# Unix-style newlines with a newline ending every file, utf-8 charset
[*]
end_of_line = lf
insert_final_newline = true
trim_trailing_whitespace = true
charset = utf-8
[/lnbits/static/vendor/*]
end_of_line = unset
insert_final_newline = unset
trim_trailing_whitespace = unset

View File

@ -30,6 +30,9 @@ checkprettier:
checkblack:
poetry run black --check .
checkeditorconfig:
editorconfig-checker
dev:
poetry run lnbits --reload