Explorar o código

test: add basic JSConfig to make VSCode type-check the JS file

rugk hai 5 meses
pai
achega
e2d900eb02
Modificáronse 1 ficheiros con 22 adicións e 0 borrados
  1. 22 0
      js/jsconfig.json

+ 22 - 0
js/jsconfig.json

@@ -0,0 +1,22 @@
+{
+  "compilerOptions": {
+    "target": "es2024",
+    "module": "NodeNext",
+    "moduleResolution": "nodenext",
+    "resolveJsonModule": true,
+    "checkJs": true,
+    "strict": true,
+    "noImplicitAny": false,
+    "forceConsistentCasingInFileNames": true,
+    "noUnusedLocals": true,
+    "noUnusedParameters": true,
+    "baseUrl": "./src",
+    "paths": {
+      "/*": ["./*"],
+    }
+  },
+  "exclude": [
+    "node_modules",
+    "**/node_modules/*"
+  ]
+}