chore: add vscode configuration (#6)

This commit is contained in:
Ludy 2025-08-19 14:04:51 +02:00 committed by GitHub
parent 697c479973
commit 7191c2b4f0
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 45 additions and 1 deletions

6
.vscode/extensions.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"recommendations": [
"dbaeumer.vscode-eslint",
"esbenp.prettier-vscode"
]
}

2
.vscode/launch.json vendored
View File

@ -32,4 +32,4 @@
}
}
]
}
}

6
.vscode/settings.json vendored Normal file
View File

@ -0,0 +1,6 @@
{
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode",
"typescript.tsdk": "node_modules/typescript/lib",
"eslint.validate": ["javascript", "typescript"]
}

32
.vscode/tasks.json vendored Normal file
View File

@ -0,0 +1,32 @@
{
"version": "2.0.0",
"tasks": [
{
"label": "npm: build",
"type": "npm",
"script": "build",
"group": "build"
},
{
"label": "npm: format",
"type": "npm",
"script": "format"
},
{
"label": "npm: lint",
"type": "npm",
"script": "lint"
},
{
"label": "npm: test",
"type": "npm",
"script": "test",
"group": "test"
},
{
"label": "npm: all",
"type": "npm",
"script": "all"
}
]
}