File tree Expand file tree Collapse file tree 2 files changed +3
-1
lines changed
packages/adapter-typeorm/src Expand file tree Collapse file tree 2 files changed +3
-1
lines changed Original file line number Diff line number Diff line change @@ -40,6 +40,7 @@ export default tsEslint.config(
40
40
languageOptions : {
41
41
parser : tsEslint . parser ,
42
42
parserOptions : {
43
+ projectService : true ,
43
44
project : [ "./packages/utils/tsconfig.eslint.json" ] ,
44
45
} ,
45
46
globals : {
@@ -55,6 +56,7 @@ export default tsEslint.config(
55
56
rules : {
56
57
"prefer-const" : [ "error" , { destructuring : "all" } ] ,
57
58
"no-empty" : [ "error" , { allowEmptyCatch : true } ] ,
59
+ "@typescript-eslint/no-floating-promises" : "error" ,
58
60
"@typescript-eslint/no-explicit-any" : "warn" ,
59
61
"@typescript-eslint/ban-ts-comment" : "warn" ,
60
62
"@typescript-eslint/no-empty-object-type" : [
Original file line number Diff line number Diff line change @@ -98,7 +98,7 @@ export async function updateConnectionEntities(
98
98
dataSource . entityMetadatas = entities
99
99
100
100
// @ts -expect-error
101
- dataSource . buildMetadatas ( )
101
+ await dataSource . buildMetadatas ( )
102
102
103
103
if ( dataSource . options . synchronize !== false ) {
104
104
console . warn (
You can’t perform that action at this time.
0 commit comments