From 4abdb9d2855aa095c45bb8144a1541bc94bd7e96 Mon Sep 17 00:00:00 2001 From: Matthew Phillips Date: Wed, 27 Mar 2024 13:05:53 +0000 Subject: [PATCH] [ci] format --- .eslintrc.cjs | 12 ++++++------ packages/db/src/runtime/queries.ts | 12 ++++++------ packages/db/src/runtime/seed-local.ts | 2 +- 3 files changed, 13 insertions(+), 13 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index f3401b2d26..78cf3eb9a6 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -148,11 +148,11 @@ module.exports = { { group: ['../core/*'], allowTypeImports: true, - } - ] - } - ] - } - } + }, + ], + }, + ], + }, + }, ], }; diff --git a/packages/db/src/runtime/queries.ts b/packages/db/src/runtime/queries.ts index 01fefb7457..f58cb1ce23 100644 --- a/packages/db/src/runtime/queries.ts +++ b/packages/db/src/runtime/queries.ts @@ -1,12 +1,6 @@ import { type SQL } from 'drizzle-orm'; import { SQLiteAsyncDialect } from 'drizzle-orm/sqlite-core'; import { bold } from 'kleur/colors'; -import { - FOREIGN_KEY_DNE_ERROR, - FOREIGN_KEY_REFERENCES_EMPTY_ERROR, - FOREIGN_KEY_REFERENCES_LENGTH_ERROR, - REFERENCE_DNE_ERROR, -} from './errors.js'; import type { BooleanColumn, ColumnType, @@ -17,6 +11,12 @@ import type { NumberColumn, TextColumn, } from '../core/types.js'; +import { + FOREIGN_KEY_DNE_ERROR, + FOREIGN_KEY_REFERENCES_EMPTY_ERROR, + FOREIGN_KEY_REFERENCES_LENGTH_ERROR, + REFERENCE_DNE_ERROR, +} from './errors.js'; import { hasPrimaryKey } from './index.js'; import { isSerializedSQL } from './types.js'; diff --git a/packages/db/src/runtime/seed-local.ts b/packages/db/src/runtime/seed-local.ts index 3e3a4eacea..e4d8064ed1 100644 --- a/packages/db/src/runtime/seed-local.ts +++ b/packages/db/src/runtime/seed-local.ts @@ -2,8 +2,8 @@ import { LibsqlError } from '@libsql/client'; import { type SQL, sql } from 'drizzle-orm'; import type { LibSQLDatabase } from 'drizzle-orm/libsql'; import { SQLiteAsyncDialect } from 'drizzle-orm/sqlite-core'; -import { SEED_DEFAULT_EXPORT_ERROR, SEED_ERROR } from './errors.js'; import { type DBTables } from '../core/types.js'; +import { SEED_DEFAULT_EXPORT_ERROR, SEED_ERROR } from './errors.js'; import { getCreateIndexQueries, getCreateTableQuery } from './queries.js'; const sqlite = new SQLiteAsyncDialect();