Skip to content

Commit a17d5e1

Browse files
lint warning in pre-commit hook
1 parent 2e93308 commit a17d5e1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.lintstagedrc.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
const path = require("path");
22

33
const buildNextEslintCommand = (filenames) =>
4-
`yarn next:lint --fix --file ${filenames
4+
`yarn next:lint --max-warnings=0 --fix --file ${filenames
55
.map((f) => path.relative(path.join("packages", "nextjs"), f))
66
.join(" --file ")}`;
77

0 commit comments

Comments
 (0)