Skip to content

Commit 9c0a1de

Browse files
committed
Add type-checking to oxlint, run check in parallel
1 parent 0f2c25d commit 9c0a1de

3 files changed

Lines changed: 5 additions & 6 deletions

File tree

.oxlintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,8 @@
2525
"typescript/no-misused-promises": "warn"
2626
},
2727
"options": {
28-
"typeAware": true
28+
"typeAware": true,
29+
"typeCheck": true
2930
},
3031
"overrides": [
3132
{

bun.lock

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"type": "module",
55
"scripts": {
66
"build": "vite build",
7-
"check": "bun run format:check && bun run lint && bun run typecheck && bun run test",
7+
"check": "bun run format:check & bun run lint & bun run test & wait",
88
"clean": "git clean -xdf node_modules/.cache .tanstack .output .nitro dist .wrangler",
99
"db:generate": "drizzle-kit generate",
1010
"db:migrate": "wrangler d1 migrations apply DB --local",
@@ -15,14 +15,14 @@
1515
"fix": "bun run format && bun run lint:fix",
1616
"format": "oxfmt .",
1717
"format:check": "bun format -- --check",
18-
"lint": "oxlint .",
18+
"lint": "oxlint",
1919
"lint:fix": "bun lint -- --fix --fix-suggestions",
2020
"lint:fixall": "bun lint:fix -- --fix-dangerously",
2121
"nuke": "bun run clean && git clean -xdf node_modules",
2222
"outdated": "npx npm-check-updates --interactive --format group",
2323
"setup": "bin/setup",
2424
"start": "vite start",
25-
"test": "vitest",
25+
"test": "bun test",
2626
"typecheck": "tsc --noEmit --pretty",
2727
"typegen": "wrangler types"
2828
},
@@ -63,7 +63,6 @@
6363
"tw-animate-css": "^1.4.0",
6464
"typescript": "^6",
6565
"vite": "^8.0.2",
66-
"vitest": "^4.1.1",
6766
"wrangler": "^4.76.0"
6867
}
6968
}

0 commit comments

Comments
 (0)