fix: code quality and safety improvements #443
ci.yml
on: pull_request
Lint Frontend
25s
Lint Backend
19s
Lint Admin
18s
Build Frontend
Annotations
3 errors and 12 warnings
|
Lint Frontend
Process completed with exit code 1.
|
|
Lint Frontend:
frontend/src/components/Ai.jsx#L102
'res' is not defined
|
|
Lint Frontend:
frontend/src/components/Ai.jsx#L102
'data' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
Lint Admin
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint Admin:
admin/src/pages/Order.jsx#L52
React Hook useEffect has a missing dependency: 'fetchAllOrders'. Either include it or remove the dependency array
|
|
Lint Admin:
admin/src/pages/List.jsx#L53
React Hook useEffect has a missing dependency: 'fetchList'. Either include it or remove the dependency array
|
|
Lint Admin:
admin/src/pages/Home.jsx#L60
React Hook useEffect has a missing dependency: 'fetchCounts'. Either include it or remove the dependency array
|
|
Lint Admin:
admin/src/Context/NotificationContext.jsx#L118
React Hook useEffect has missing dependencies: 'fetchNotifications' and 'socket'. Either include them or remove the dependency array
|
|
Lint Admin:
admin/src/Context/NotificationContext.jsx#L8
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
|
|
Lint Admin:
admin/src/Context/AuthProvider.jsx#L4
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
|
|
Lint Admin:
admin/src/Context/AdminProvider.jsx#L28
React Hook useEffect has a missing dependency: 'getAdmin'. Either include it or remove the dependency array
|
|
Lint Admin:
admin/src/Context/AdminProvider.jsx#L6
Fast refresh only works when a file only exports components. Move your React context(s) to a separate file
|
|
Lint Backend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint Frontend
Node.js 20 is deprecated. The following actions target Node.js 20 but are being forced to run on Node.js 24: actions/checkout@v4, actions/setup-node@v4. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Lint Frontend:
frontend/src/context/ShopContext.jsx#L221
Unexpected console statement
|