-
Notifications
You must be signed in to change notification settings - Fork 4
Open
Description
lint is failing:
$ npm run lint
> protect@0.1.0 lint
> next lint
./app/(app)/(configure)/configure/refund/page.tsx
44:6 Warning: React Hook useEffect has missing dependencies: 'setBuilders' and 'setRefundShare'. Either include them or remove the dependency array. react-hooks/exhaustive-deps
162:15 Warning: Unexpected alert. no-alert
./app/(app)/(configure)/summary/page.tsx
200:21 Warning: Unexpected console statement. no-console
201:21 Warning: Unexpected alert. no-alert
205:15 Warning: Unexpected alert. no-alert
./lib/useSupportedBuilders.ts
30:11 Warning: Unexpected console statement. no-console
info - Need to disable some ESLint rules? Learn more here: https://nextjs.org/docs/basic-features/eslint#disabling-rules
workaround is to add this to .eslintrc.json
{
"rules": {
"no-alert": "off",
"no-console": "off",
"react-hooks/exhaustive-deps": "off",
}
}
Metadata
Metadata
Assignees
Labels
No labels