style: fix linting issues met ESLint
This commit is contained in:
		
							parent
							
								
									a4d34afcb3
								
							
						
					
					
						commit
						3a68fb3913
					
				
					 1 changed files with 3 additions and 3 deletions
				
			
		|  | @ -37,11 +37,11 @@ function config(testingMode: boolean = false): Options { | ||||||
|             driver: SqliteDriver, |             driver: SqliteDriver, | ||||||
|             dbName: getEnvVar(EnvVars.DbName), |             dbName: getEnvVar(EnvVars.DbName), | ||||||
|             entities: entities, |             entities: entities, | ||||||
|             // entitiesTs: entitiesTs,
 |             // EntitiesTs: entitiesTs,
 | ||||||
| 
 | 
 | ||||||
|             // Workaround: vitest: `TypeError: Unknown file extension ".ts"` (ERR_UNKNOWN_FILE_EXTENSION)
 |             // Workaround: vitest: `TypeError: Unknown file extension ".ts"` (ERR_UNKNOWN_FILE_EXTENSION)
 | ||||||
|             // (see https://mikro-orm.io/docs/guide/project-setup#testing-the-endpoint)
 |             // (see https://mikro-orm.io/docs/guide/project-setup#testing-the-endpoint)
 | ||||||
|             dynamicImportProvider: (id) => import(id), |             dynamicImportProvider: (id) => {return import(id)}, | ||||||
|         }; |         }; | ||||||
|     } |     } | ||||||
|     return { |     return { | ||||||
|  | @ -52,7 +52,7 @@ function config(testingMode: boolean = false): Options { | ||||||
|         user: getEnvVar(EnvVars.DbUsername), |         user: getEnvVar(EnvVars.DbUsername), | ||||||
|         password: getEnvVar(EnvVars.DbPassword), |         password: getEnvVar(EnvVars.DbPassword), | ||||||
|         entities: entities, |         entities: entities, | ||||||
|         //entitiesTs: entitiesTs,
 |         //EntitiesTs: entitiesTs,
 | ||||||
|         debug: true, |         debug: true, | ||||||
|     }; |     }; | ||||||
| } | } | ||||||
|  |  | ||||||
		Reference in a new issue
	
	 Lint Action
						Lint Action