Просмотр исходного кода

chore: update cSpell configuration to use enabledFileTypes

daiwei 4 месяцев назад
Родитель
Сommit
e4f7aa7c41
1 измененных файлов с 6 добавлено и 1 удалено
  1. 6 1
      .vscode/settings.json

+ 6 - 1
.vscode/settings.json

@@ -2,7 +2,12 @@
   // Use the project's typescript version
   "typescript.tsdk": "node_modules/typescript/lib",
 
-  "cSpell.enabledLanguageIds": ["markdown", "plaintext", "text", "yml"],
+  "cSpell.enabledFileTypes": {
+    "markdown": true,
+    "plaintext": true,
+    "text": true,
+    "yml": true
+  },
 
   // Use prettier to format TypeScript, JavaScript and JSON files
   "[typescript]": {