chore: update lint script to use ESLint with additional file extensions #4
ci.yml
on: push
avoid_redundancy
7s
Run ESLint
30s
Run Prettier
21s
Build
21s
Annotations
1 error and 12 warnings
Build
Process completed with exit code 1.
|
avoid_redundancy
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: styfle/cancel-workflow-action@0.9.1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
avoid_redundancy
The following actions uses node12 which is deprecated and will be forced to run on node16: styfle/cancel-workflow-action@0.9.1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
Run ESLint:
src/app/(dashboard)/dashboard/cash/actions.tsx#L77
React Hook useEffect has missing dependencies: 'form', 'router', 'toast', and 'utils.cashRegister.transactions.list'. Either include them or remove the dependency array
|
Run ESLint:
src/app/(dashboard)/dashboard/cash/actions.tsx#L86
React Hook useEffect has a missing dependency: 'form'. Either include it or remove the dependency array
|
Run ESLint:
src/app/(dashboard)/dashboard/cash/enable-cash.tsx#L25
React Hook useEffect has a missing dependency: 'router'. Either include it or remove the dependency array
|
Run ESLint:
src/app/(dashboard)/dashboard/inventory/data-table.tsx#L3
Imports "ColumnDef" are only used as type
|
Run ESLint:
src/app/(dashboard)/dashboard/inventory/data-table.tsx#L14
All imports in the declaration are only used as types. Use `import type`
|
Run ESLint:
src/app/(dashboard)/dashboard/products/overview.tsx#L9
All imports in the declaration are only used as types. Use `import type`
|
Run ESLint:
src/app/(dashboard)/dashboard/sales/date-range-filter.tsx#L40
React Hook useEffect has a missing dependency: 'table'. Either include it or remove the dependency array
|
Run ESLint:
src/app/(dashboard)/employees/create/form.tsx#L59
React Hook useEffect has missing dependencies: 'route' and 'toast'. Either include them or remove the dependency array
|
Run ESLint:
src/app/(dashboard)/products/[id]/edit/form.tsx#L54
React Hook useEffect has missing dependencies: 'router' and 'toast'. Either include them or remove the dependency array
|
Run ESLint:
src/app/(dashboard)/products/create/form.tsx#L28
All imports in the declaration are only used as types. Use `import type`
|