Browse Source

chore(vscode): Set Prettier config path for VSCode (#75251)

Sets the default config path for VSCode's Prettier settings to
`package.json`, where Prettier rules reside
Ash 7 months ago
parent
commit
74a87ce03f
1 changed files with 3 additions and 4 deletions
  1. 3 4
      .vscode/settings.json

+ 3 - 4
.vscode/settings.json

@@ -102,8 +102,7 @@
   "python.testing.pytestEnabled": true,
   "python.testing.unittestEnabled": false,
   "python.testing.pytestPath": "${workspaceFolder}/.venv/bin/pytest",
-  "python.testing.pytestArgs": [
-    "tests"
-  ],
-  "python.analysis.autoImportCompletions": true
+  "python.testing.pytestArgs": ["tests"],
+  "python.analysis.autoImportCompletions": true,
+  "prettier.configPath": "package.json"
 }