Skip to content

Commit

Permalink
Update Lints
Browse files Browse the repository at this point in the history
  • Loading branch information
ingalls committed Jul 12, 2024
1 parent cb860ca commit 233fe22
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 7 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
"main": "./dist/generic.js",
"types": "./generic.ts",
"scripts": {
"lint": "eslint generic.ts lib/**.ts",
"lint": "eslint generic.ts lib/ test/",
"doc": "typedoc",
"build": "tsc --build"
},
Expand Down
3 changes: 1 addition & 2 deletions test/generic.test.ts
Original file line number Diff line number Diff line change
@@ -1,12 +1,11 @@
import test from 'tape';
import postgres from 'postgres';
import init from './init.js';
import Modeler, { Pool } from '../generic.js';
import * as pgschema from './schema.base.js';

const connstr = init();

test('Generic Generate', async (t) => {
test('Generic Generate', async () => {
const pool = await Pool.connect(connstr, pgschema);

const ProfileModel = new Modeler(pool, pgschema.Profile);
Expand Down
4 changes: 0 additions & 4 deletions test/schema.base.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,8 @@ import { geometry, GeometryType } from '../generic.js';

import {
json,
bigint,
boolean,
integer,
timestamp,
pgTable,
serial,
varchar
} from 'drizzle-orm/pg-core';

Expand Down

0 comments on commit 233fe22

Please sign in to comment.