File tree 3 files changed +33
-2
lines changed
3 files changed +33
-2
lines changed Original file line number Diff line number Diff line change
1
+ {
2
+ "extends" : [
3
+ " next/core-web-vitals" ,
4
+ " eslint:recommended" ,
5
+ " plugin:@typescript-eslint/recommended"
6
+ ],
7
+ "rules" : {
8
+ "@typescript-eslint/no-unused-vars" : [" warn" , {
9
+ "argsIgnorePattern" : " ^_" ,
10
+ "varsIgnorePattern" : " ^_"
11
+ }],
12
+ "@typescript-eslint/no-explicit-any" : " warn" ,
13
+ "react-hooks/exhaustive-deps" : " warn" ,
14
+ "@next/next/no-html-link-for-pages" : " warn" ,
15
+ "react/no-unescaped-entities" : " off" ,
16
+ "@typescript-eslint/no-unused-expressions" : " warn" ,
17
+ "@typescript-eslint/ban-ts-comment" : " warn"
18
+ }
19
+ }
Original file line number Diff line number Diff line change 6
6
"dev" : " next dev" ,
7
7
"build" : " next build" ,
8
8
"start" : " next start" ,
9
- "lint" : " next lint" ,
9
+ "lint" : " next lint --fix " ,
10
10
"test:db" : " ts-node --project tsconfig.seed.json scripts/test-db.ts" ,
11
11
"db:seed" : " prisma db seed" ,
12
12
"db:push" : " prisma db push" ,
13
13
"db:studio" : " prisma studio" ,
14
14
"postinstall" : " prisma generate" ,
15
- "vercel-build" : " prisma generate && prisma db push && next build"
15
+ "vercel-build" : " prisma generate && prisma db push && prisma db seed && SKIP_LINTING=true next build"
16
16
},
17
17
"prisma" : {
18
18
"seed" : " ts-node --project tsconfig.seed.json prisma/seed.ts"
Original file line number Diff line number Diff line change
1
+ {
2
+ "version" : 2 ,
3
+ "buildCommand" : " npm run vercel-build" ,
4
+ "installCommand" : " npm install" ,
5
+ "framework" : " nextjs" ,
6
+ "outputDirectory" : " .next" ,
7
+ "ignoreCommand" : " echo 'Skipping lint check'" ,
8
+ "env" : {
9
+ "NEXT_TELEMETRY_DISABLED" : " 1" ,
10
+ "SKIP_LINTING" : " true"
11
+ }
12
+ }
You can’t perform that action at this time.
0 commit comments