RU-T49 Adding routes and more langs #455
react-native-cicd.yml
on: pull_request
Annotations
10 errors and 11 warnings
|
test:
src/app/routes/start.tsx#L1
Run autofix to sort these imports!
|
|
test:
src/app/routes/index.tsx#L1
Run autofix to sort these imports!
|
|
test:
src/app/routes/history/instance/[id].tsx#L1
Run autofix to sort these imports!
|
|
test:
src/app/routes/history/[planId].tsx#L1
Run autofix to sort these imports!
|
|
test:
src/app/routes/directions.tsx#L1
Run autofix to sort these imports!
|
|
test:
src/app/maps/indoor/[id].tsx#L1
Run autofix to sort these imports!
|
|
test:
src/app/maps/custom/[id].tsx#L1
Run autofix to sort these imports!
|
|
test:
src/app/login/login-form.tsx#L1
Run autofix to sort these imports!
|
|
test:
src/app/(app)/routes.tsx#L1
Run autofix to sort these imports!
|
|
test:
src/api/routes/routes.ts#L1
Run autofix to sort these imports!
|
|
test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/cache@v4, actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
test:
src/app/(app)/routes.tsx#L134
Replace `⏎············?·(unitMap[item.UnitId]·||·(isMyUnit·?·(activeUnit?.Name·??·'')·:·''))⏎···········` with `·?·unitMap[item.UnitId]·||·(isMyUnit·?·(activeUnit?.Name·??·'')·:·'')`
|
|
test:
src/app/(app)/routes.tsx#L123
Replace `⏎······················?·Math.round(((activeInstance.StopsCompleted·??·0)·/·activeInstance.StopsTotal)·*·100)⏎·····················` with `·?·Math.round(((activeInstance.StopsCompleted·??·0)·/·activeInstance.StopsTotal)·*·100)`
|
|
test:
src/app/(app)/routes.tsx#L113
Replace `⏎······················{activeInstance.RoutePlanName·||·t('routes.active_route')}⏎····················` with `{activeInstance.RoutePlanName·||·t('routes.active_route')}`
|
|
test:
src/app/(app)/routes.tsx#L103
Replace `⏎··················?·`/routes/active?planId=${activeInstance.RoutePlanId}&instanceId=${iid}`⏎·················` with `·?·`/routes/active?planId=${activeInstance.RoutePlanId}&instanceId=${iid}``
|
|
test:
src/app/(app)/routes.tsx#L77
Replace `(⏎········route.Name.toLowerCase().includes(q)·||⏎········(route.Description?.toLowerCase()·||·'').includes(q)·||⏎········unitName.toLowerCase().includes(q)⏎······` with `route.Name.toLowerCase().includes(q)·||·(route.Description?.toLowerCase()·||·'').includes(q)·||·unitName.toLowerCase().includes(q`
|
|
test:
src/app/(app)/routes.tsx#L76
Replace `(unitMap[route.UnitId]·||·(isRouteMyUnit·?·(activeUnit?.Name·??·'')·:·''))` with `unitMap[route.UnitId]·||·(isRouteMyUnit·?·(activeUnit?.Name·??·'')·:·'')`
|
|
test:
src/app/(app)/routes.tsx#L61
Replace `⏎········?·`/routes/active?planId=${route.RoutePlanId}&instanceId=${iid}`⏎·······` with `·?·`/routes/active?planId=${route.RoutePlanId}&instanceId=${iid}``
|
|
test:
src/app/(app)/routes.tsx#L36
Replace `⏎····()·=>·Object.fromEntries(units.map((u)·=>·[u.UnitId,·u.Name])),⏎····[units]⏎··` with `()·=>·Object.fromEntries(units.map((u)·=>·[u.UnitId,·u.Name])),·[units]`
|
|
test:
src/app/(app)/index.tsx#L552
Replace `⏎····················key={`route-stop-${stop.RouteInstanceStopId}`}⏎····················id={`route-stop-${stop.RouteInstanceStopId}`}⏎····················coordinate={[stop.Longitude,·stop.Latitude]}⏎··················` with `·key={`route-stop-${stop.RouteInstanceStopId}`}·id={`route-stop-${stop.RouteInstanceStopId}`}·coordinate={[stop.Longitude,·stop.Latitude]}`
|
|
test:
src/app/(app)/index.tsx#L149
Replace `⏎········nextStop.Longitude·+·radiusDeg·*·Math.cos(angle),⏎········nextStop.Latitude·+·radiusDeg·*·Math.sin(angle),⏎······` with `nextStop.Longitude·+·radiusDeg·*·Math.cos(angle),·nextStop.Latitude·+·radiusDeg·*·Math.sin(angle)`
|