Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add VS Code workspace defaults and recommended extensions (#9506)

Patryk Zawadzki568f7fae302c
diff --git a/.gitignore b/.gitignore
index e26e603c67..9c53fee3d4 100644
--- a/.gitignore
+++ b/.gitignore
@@ -1,23 +1,11 @@
*.py[cod]
.*
-!.babelrc
-!.circleci
-!.codeclimate.yml
-!.coveragerc
!.dockerignore
-!.eslintrc.json
-!.flowconfig
!.github
!.gitignore
-!.gqlconfig
-!.npmrc
!.nvmrc
-!.plop
!.pylintrc
-!.testcafe
-!.travis*
-!.tx
-*.css
+!.vscode
*.log
*.pot
*.pyc
diff --git a/.vscode/extensions.json b/.vscode/extensions.json
new file mode 100644
index 0000000000..ccf81fa7d2
--- /dev/null
+++ b/.vscode/extensions.json
@@ -0,0 +1,9 @@
+{
+ "recommendations": [
+ "ms-python.vscode-pylance",
+ "ms-python.pylint",
+ "ms-python.python",
+ "editorconfig.editorconfig",
+ "streetsidesoftware.code-spell-checker"
+ ]
+}
diff --git a/.vscode/settings.json b/.vscode/settings.json
new file mode 100644
index 0000000000..ba123bce80
--- /dev/null
+++ b/.vscode/settings.json
@@ -0,0 +1,7 @@
+{
+ "python.testing.unittestEnabled": false,
+ "python.testing.pytestEnabled": true,
+ "python.formatting.provider": "black",
+ "python.languageServer": "Pylance",
+ "python.linting.mypyEnabled": true
+}