Commit
Use the ESLint CLI
commit
df485da
2 changed files with +2 and −1
Jump to a changed file
- .eslintrc.json +1 −0
- package.json +1 −1
modified .eslintrc.json +1 −0
| @@ -15,6 +15,7 @@ | ||
| 15 | 15 | "ignorePatterns": [ |
| 16 | 16 | "node_modules/", |
| 17 | 17 | ".next/", |
| 18 | + "next-env.d.ts", | |
| 18 | 19 | "src/generated/", |
| 19 | 20 | "prisma/generated/" |
| 20 | 21 | ] |
modified package.json +1 −1
| @@ -13,7 +13,7 @@ | ||
| 13 | 13 | "dev": "next dev", |
| 14 | 14 | "build": "prisma generate && next build", |
| 15 | 15 | "start": "next start", |
| 16 | - "lint": "next lint", | |
| 16 | + "lint": "eslint . --max-warnings 0", | |
| 17 | 17 | "typecheck": "tsc --noEmit", |
| 18 | 18 | "test": "vitest run", |
| 19 | 19 | "test:watch": "vitest", |