Skip to content

Commit

Permalink
[ci] format
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewp authored and astrobot-houston committed Mar 27, 2024
1 parent 764d67f commit 4abdb9d
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 13 deletions.
12 changes: 6 additions & 6 deletions .eslintrc.cjs
Original file line number Diff line number Diff line change
Expand Up @@ -148,11 +148,11 @@ module.exports = {
{
group: ['../core/*'],
allowTypeImports: true,
}
]
}
]
}
}
},
],
},
],
},
},
],
};
12 changes: 6 additions & 6 deletions packages/db/src/runtime/queries.ts
Original file line number Diff line number Diff line change
@@ -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,
Expand All @@ -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';

Expand Down
2 changes: 1 addition & 1 deletion packages/db/src/runtime/seed-local.ts
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit 4abdb9d

Please sign in to comment.