From f637a97fc2e29e8cc967caf95496240ea64e950e Mon Sep 17 00:00:00 2001 From: Alexander Popov Date: Sun, 25 Jul 2021 15:32:55 +0300 Subject: [PATCH] use EditorConfig --- .editorconfig | 14 ++++++++++++++ .gitignore | 1 - config.json.example | 6 +++--- 3 files changed, 17 insertions(+), 4 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..28d9ef7 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,14 @@ +# EditorConfig is awesome: https://EditorConfig.org +root = true + +[*] +indent_style = space +indent_size = 4 +end_of_line = lf +charset = utf-8 +trim_trailing_whitespace = true +insert_final_newline = true + +[{*.json,config.json.example}] +indent_style = tab +indent_size = 4 diff --git a/.gitignore b/.gitignore index b29eec4..060c9f1 100644 --- a/.gitignore +++ b/.gitignore @@ -1,4 +1,3 @@ -env *.json *.csv *.pyc diff --git a/config.json.example b/config.json.example index c00263e..72a3b0c 100644 --- a/config.json.example +++ b/config.json.example @@ -1,5 +1,5 @@ { - "username" : "", - "api_key" : "", - "export_format": "dump, simple, csv" + "username" : "", + "api_key" : "", + "export_format": "dump, simple, csv" }