File tree Expand file tree Collapse file tree 2 files changed +18
-11
lines changed Expand file tree Collapse file tree 2 files changed +18
-11
lines changed Original file line number Diff line number Diff line change 1- import { defineConfig , globalIgnores } from "eslint/config" ;
1+ import { defineConfig } from "eslint/config" ;
22import { tanstackConfig } from "@tanstack/eslint-config" ;
33import eslintConfigPrettier from "eslint-config-prettier" ;
44
5- export default defineConfig (
6- [
7- globalIgnores ( [
5+ export default defineConfig ( [
6+ {
7+ ignores : [
88 ".nitro/**/*" ,
99 ".output/**/*" ,
1010 ".tanstack/**/*" ,
11- ".node_modules/**/*" ,
12- ] ) ,
13- ] ,
11+ "node_modules/**/*" ,
12+ "*.min.js" ,
13+ "*.bundle.js" ,
14+ ".eslintcache" ,
15+ "bun.lock" ,
16+ "*.d.ts" ,
17+ "db/**/*" ,
18+ ] ,
19+ } ,
20+ ...tanstackConfig ,
21+ eslintConfigPrettier ,
1422 {
15- extends : [ tanstackConfig , eslintConfigPrettier ] ,
1623 rules : {
1724 "pnpm/json-enforce-catalog" : "off" ,
1825 } ,
19- }
20- ) ;
26+ } ,
27+ ] ) ;
Original file line number Diff line number Diff line change 77 "dev" : " bunx --bun vite dev" ,
88 "build" : " bun lint && bunx --bun vite build" ,
99 "start" : " bun run .output/server/index.mjs" ,
10- "lint" : " bunx --bun eslint ." ,
10+ "lint" : " bunx --bun eslint . --cache --cache-location .eslintcache --max-warnings 0 " ,
1111 "db:generate" : " drizzle-kit generate" ,
1212 "db:migrate" : " drizzle-kit migrate" ,
1313 "db:studio" : " drizzle-kit studio"
You can’t perform that action at this time.
0 commit comments