From b4b2600bf6f47aaa14f95548e89c464253dc4b40 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mose=20M=C3=BCller?= Date: Wed, 2 Aug 2023 12:13:04 +0200 Subject: [PATCH] adding .vscode/settings.json --- .gitignore | 2 -- .vscode/settings.json | 40 ++++++++++++++++++++++++++++++++++++++++ 2 files changed, 40 insertions(+), 2 deletions(-) create mode 100644 .vscode/settings.json diff --git a/.gitignore b/.gitignore index 45b7e68..a81c8ee 100644 --- a/.gitignore +++ b/.gitignore @@ -1,5 +1,3 @@ -settings.json - # Byte-compiled / optimized / DLL files __pycache__/ *.py[cod] diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 0000000..35cfbbd --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,40 @@ +{ + "autoDocstring.docstringFormat": "google", + "autoDocstring.startOnNewLine": true, + "autoDocstring.generateDocstringOnEnter": true, + "editor.formatOnSave": true, + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + }, + "editor.rulers": [ + 88 + ], + "python.defaultInterpreterPath": ".venv/bin/python", + "python.formatting.provider": "black", + "python.linting.lintOnSave": true, + "python.linting.enabled": true, + "python.linting.flake8Enabled": true, + "python.linting.mypyEnabled": true, + "[python]": { + "editor.tabSize": 4, + "editor.detectIndentation": false, + "editor.codeActionsOnSave": { + "source.organizeImports": true + } + }, + "[yaml]": { + "editor.tabSize": 2, + "editor.detectIndentation": false + }, + "[typescript][javascript][vue][typescriptreact]": { + "editor.tabSize": 2, + "editor.defaultFormatter": "rvest.vs-code-prettier-eslint", + "editor.formatOnPaste": false, // required + "editor.formatOnType": false, // required + "editor.formatOnSave": true, // optional + "editor.formatOnSaveMode": "file", // required to format on save + "editor.codeActionsOnSave": { + "source.fixAll.eslint": true + } + } +} \ No newline at end of file