d13e86ba46
Rebranded src code and scripts to SPT Co-authored-by: clodan <clodan@clodan.com> Reviewed-on: https://dev.sp-tarkov.com/SPT-AKI/Server/pulls/345 Co-authored-by: Alex <clodan@noreply.dev.sp-tarkov.com> Co-committed-by: Alex <clodan@noreply.dev.sp-tarkov.com>
53 lines
1.8 KiB
Plaintext
53 lines
1.8 KiB
Plaintext
{
|
|
"folders": [
|
|
{
|
|
"path": ".",
|
|
},
|
|
],
|
|
"settings": {
|
|
"window.title": "SPT Server",
|
|
"editor.formatOnSave": false, // We use an extension to format on save.
|
|
"editor.defaultFormatter": "esbenp.prettier-vscode",
|
|
"editor.codeActionsOnSave": ["source.formatDocument", "source.fixAll.eslint"],
|
|
"eslint.debug": false,
|
|
"eslint.experimental.useFlatConfig": false,
|
|
},
|
|
"extensions": {
|
|
"recommendations": [
|
|
"EditorConfig.EditorConfig", // EditorConfig file format support.
|
|
"vitest.explorer", // ViTest test runner.
|
|
"refringe.spt-id-highlighter", // Highly SPT IDs.
|
|
"rohit-gohri.format-code-action", // Custom format on save actions.
|
|
"esbenp.prettier-vscode", // Prettier code formatter.
|
|
"dbaeumer.vscode-eslint", // ESLint code linter and formatter.
|
|
],
|
|
},
|
|
"launch": {
|
|
"version": "0.2.0",
|
|
"configurations": [
|
|
{
|
|
"name": "Debug",
|
|
"type": "node",
|
|
"runtimeVersion": "20.11.1",
|
|
"runtimeExecutable": "npm",
|
|
"request": "launch",
|
|
"sourceMaps": true,
|
|
"runtimeArgs": ["run", "run:debug"],
|
|
"outFiles": ["!**/node_modules/**"],
|
|
"cwd": "${workspaceFolder}",
|
|
"outputCapture": "std",
|
|
},
|
|
{
|
|
"name": "Run Vitest Tests",
|
|
"type": "node",
|
|
"runtimeVersion": "20.11.1",
|
|
"runtimeExecutable": "npm",
|
|
"request": "launch",
|
|
"runtimeArgs": ["run", "test"],
|
|
"console": "integratedTerminal",
|
|
"internalConsoleOptions": "neverOpen",
|
|
},
|
|
],
|
|
},
|
|
}
|