Skip to content

Feature/trip details #6463

Feature/trip details

Feature/trip details #6463

Triggered via pull request November 24, 2024 19:39
Status Failure
Total duration 1m 34s
Artifacts

lint-changed.yml

on: pull_request
Changed files ESLint check
1m 23s
Changed files ESLint check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 3 warnings
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L2
'useRef' is defined but never used
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L24
'Test' is assigned a value but never used
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L25
'styles' is assigned a value but never used
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L26
'theme' is assigned a value but never used
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L27
'shouldUseNarrowLayout' is assigned a value but never used
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L30
'approverTitle' is assigned a value but never used
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L32
Unsafe member access .approvers on an `error` typed value
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L33
Unsafe member access .approvers on an `error` typed value
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L36
'members' is assigned a value but never used
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L37
Unsafe member access .isDefault on an `error` typed value
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L33
React Hook useCallback has an unnecessary dependency: 'approvalWorkflow.approvers.length'. Either exclude it or remove the dependency array. Outer scope values like 'approvalWorkflow.approvers.length' aren't valid dependencies because mutating them doesn't re-render the component
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L44
React Hook useMemo has an unnecessary dependency: 'approvalWorkflow.isDefault'. Either exclude it or remove the dependency array. Outer scope values like 'approvalWorkflow.isDefault' aren't valid dependencies because mutating them doesn't re-render the component
Changed files ESLint check: src/components/ApprovalWorkflowSection.tsx#L69
React Hook useMemo has a missing dependency: 'translate'. Either include it or remove the dependency array