chore: improve linting (fixup) (#11511)

This commit is contained in:
Lucian Mocanu 2025-06-05 22:42:27 +02:00 committed by GitHub
parent 61753b1adf
commit eb3093d03a
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
4 changed files with 14 additions and 3 deletions

View File

@ -1,5 +1,5 @@
{
"*.ts": ["eslint", "prettier --write"],
"*/**/*.json": ["prettier --write"],
"./*.json": ["sort-package-json", "prettier --write"]
"./!(package-lock).json": ["sort-package-json", "prettier --write"]
}

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

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

View File

@ -1,4 +1,8 @@
{
"[json][jsonc][javascript][markdown][typescript][yaml]": {
"editor.defaultFormatter": "esbenp.prettier-vscode"
},
"editor.formatOnSave": true,
"git.branchProtection": ["master"],
"typescript.tsdk": "node_modules/typescript/lib"
}

4
package-lock.json generated
View File

@ -2,6 +2,7 @@
"name": "typeorm",
"version": "0.3.24",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "typeorm",
@ -16268,6 +16269,5 @@
"node": ">=20"
}
}
},
"requires": true
}
}