diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 5226bbf4..6210b54a 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -92,7 +92,6 @@ module.exports = defineConfig({ '@typescript-eslint/no-unsafe-argument': 'off', '@typescript-eslint/no-unsafe-return': 'off', '@typescript-eslint/no-var-requires': 'off', - '@typescript-eslint/require-await': 'off', '@typescript-eslint/restrict-template-expressions': 'off', '@typescript-eslint/unified-signatures': 'off', }, diff --git a/test/ts/migrations/1-test-migration.ts b/test/ts/migrations/1-test-migration.ts index 694080d6..8f8c085d 100644 --- a/test/ts/migrations/1-test-migration.ts +++ b/test/ts/migrations/1-test-migration.ts @@ -2,7 +2,7 @@ import type { ColumnDefinitions, MigrationBuilder } from '../../../dist'; export const shorthands: ColumnDefinitions | undefined = undefined; -export async function up(pgm: MigrationBuilder): Promise { +export function up(pgm: MigrationBuilder): void { pgm.createTable('t1', { id: 'id', string: { type: 'text', notNull: true }, diff --git a/test/ts/migrations/2-test-migration.ts b/test/ts/migrations/2-test-migration.ts index beeb212e..d20e62be 100644 --- a/test/ts/migrations/2-test-migration.ts +++ b/test/ts/migrations/2-test-migration.ts @@ -2,7 +2,7 @@ import type { ColumnDefinitions, MigrationBuilder } from '../../../dist'; export const shorthands: ColumnDefinitions | undefined = undefined; -export async function up(pgm: MigrationBuilder): Promise { +export function up(pgm: MigrationBuilder): void { pgm.createTable('t3', { id: 'id', string: { type: 'text', notNull: true },