Skip to content

fix: code quality and safety improvements #443

fix: code quality and safety improvements

fix: code quality and safety improvements #443

Re-run triggered August 10, 2026 09:57
Status Failure
Total duration 30s
Artifacts

ci.yml

on: pull_request
Lint Frontend
25s
Lint Frontend
Lint Backend
19s
Lint Backend
Lint Admin
18s
Lint Admin
Build Frontend
Build Frontend
Fit to window
Zoom out
Zoom in

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