add Prettier configuration and update package dependencies

This commit is contained in:
Space-Banane
2026-02-22 15:31:13 +01:00
parent 73c1dde919
commit 6da42e830d
4 changed files with 21 additions and 0 deletions

4
.prettierrc Normal file
View File

@@ -0,0 +1,4 @@
{
"tabWidth": 4,
"useTabs": false
}

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

@@ -0,0 +1,6 @@
{
"editor.tabSize": 4,
"editor.insertSpaces": true,
"editor.formatOnSave": true,
"editor.defaultFormatter": "esbenp.prettier-vscode"
}

View File

@@ -17,6 +17,7 @@
},
"devDependencies": {
"@types/node": "^22.13.4",
"prettier": "^3.8.1",
"ts-node": "^10.9.2",
"typescript": "^5.7.3"
}

10
pnpm-lock.yaml generated
View File

@@ -27,6 +27,9 @@ importers:
'@types/node':
specifier: ^22.13.4
version: 22.19.11
prettier:
specifier: ^3.8.1
version: 3.8.1
ts-node:
specifier: ^10.9.2
version: 10.9.2(@types/node@22.19.11)(typescript@5.9.3)
@@ -412,6 +415,11 @@ packages:
path-to-regexp@8.3.0:
resolution: {integrity: sha512-7jdwVIRtsP8MYpdXSwOS0YdD0Du+qOoF/AEPIt88PcCFrZCzx41oxku1jD88hZBwbNUIEfpqvuhjFaMAqMTWnA==}
prettier@3.8.1:
resolution: {integrity: sha512-UOnG6LftzbdaHZcKoPFtOcCKztrQ57WkHDeRD9t/PTQtmT0NHSeWWepj6pS0z/N7+08BHFDQVUrfmfMRcZwbMg==}
engines: {node: '>=14'}
hasBin: true
proxy-addr@2.0.7:
resolution: {integrity: sha512-llQsMLSUDUPT44jdrU/O37qlnifitDP+ZwrmmZcoSKyLKvtZxpyV0n2/bD/N4tBAAZ/gJEdZU7KMraoK1+XYAg==}
engines: {node: '>= 0.10'}
@@ -944,6 +952,8 @@ snapshots:
path-to-regexp@8.3.0: {}
prettier@3.8.1: {}
proxy-addr@2.0.7:
dependencies:
forwarded: 0.2.0