chore: lint fix

This commit is contained in:
Michael Zetterberg
2024-04-22 06:58:50 +02:00
parent abdc48f57f
commit 14e93eba7c
82 changed files with 282 additions and 160 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ import path from "node:path"
// https://nextjs.org/docs/app/building-your-application/configuring/eslint#lint-staged
const buildEslintCommand = (filenames) =>
`next lint --max-warnings 0 --file ${filenames
`next lint --fix --max-warnings 0 --file ${filenames
.map((f) => path.relative(process.cwd(), f))
.join(" --file ")}`