0
0
mirror of https://github.com/sp-tarkov/server.git synced 2025-02-13 08:10:44 -05:00
server/project/Server.code-workspace
Refringe c5277177c3
Type Check Before Debug
This updates the npm debug command to type check before executing the run entry. If the check fails the debug will not continue.
2025-01-07 19:33:28 -05:00

55 lines
1.8 KiB
Plaintext

{
"folders": [
{
"path": "."
}
],
"settings": {
"window.title": "SPT Server",
"editor.formatOnSave": true,
"editor.defaultFormatter": "biomejs.biome",
"editor.codeActionsOnSave": {
"source.organizeImports.biome": "explicit",
"quickfix.biome": "explicit"
},
"[jsonc]": {
"editor.defaultFormatter": "biomejs.biome"
}
},
"extensions": {
"recommendations": [
"EditorConfig.EditorConfig", // EditorConfig file support.
"vitest.explorer", // ViTest test runner.
"refringe.spt-id-highlighter", // SPT ID information of hover.
"biomejs.biome" // Biome code formatting, linting, and refactoring.
]
},
"launch": {
"version": "0.2.0",
"configurations": [
{
"name": "Debug",
"type": "node",
"runtimeVersion": "22.12.0",
"runtimeExecutable": "npm",
"request": "launch",
"runtimeArgs": ["run", "run:debug"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"]
},
{
"name": "Run Vitest Tests",
"type": "node",
"runtimeVersion": "22.12.0",
"runtimeExecutable": "npm",
"request": "launch",
"runtimeArgs": ["run", "test"],
"console": "integratedTerminal",
"internalConsoleOptions": "neverOpen",
"skipFiles": ["<node_internals>/**", "${workspaceFolder}/node_modules/**"]
}
]
}
}