chore: lint fix
This commit is contained in:
@@ -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 ")}`
|
||||
|
||||
|
||||
Reference in New Issue
Block a user