Skip to content

[NoQA] NSQS

[NoQA] NSQS #11360

Triggered via pull request January 21, 2025 09:20
Status Failure
Total duration 2m 48s
Artifacts

lint-changed.yml

on: pull_request
Changed files ESLint check
2m 38s
Changed files ESLint check
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 5 warnings
Changed files ESLint check: src/CONST.ts#L4
Import individual methods from the Lodash module
Changed files ESLint check: src/CONST.ts#L4
All imports in the declaration are only used as types. Use `import type`
Changed files ESLint check: src/CONST.ts#L2740
Array type using 'T[]' is forbidden for non-simple types. Use 'Array<T>' instead
Changed files ESLint check: src/ROUTES.ts#L1047
Invalid type "URLSearchParams" of template literal expression
Changed files ESLint check: src/components/ConnectionLayout.tsx#L8
Namespace imports from @libs are not allowed. Use named imports instead. Example: import { method } from "@libs/module"
Changed files ESLint check: src/components/ConnectionLayout.tsx#L105
'shouldBeBlocked' is assigned a value but never used
Changed files ESLint check: src/components/ConnectionLayout.tsx#L125
'shouldBlockByConnection' is assigned a value but never used
Changed files ESLint check: src/components/MenuItem.tsx#L13
Namespace imports from @libs are not allowed. Use named imports instead. Example: import { method } from "@libs/module"
Changed files ESLint check: src/components/MenuItem.tsx#L18
Namespace imports from @userActions are not allowed. Use named imports instead. Example: import { action } from "@userActions/module"
Changed files ESLint check: src/components/MenuItem.tsx#L64
'ref' PropType is defined but prop is never used
Changed files ESLint check
ubuntu-latest pipelines will use ubuntu-24.04 soon. For more details, see https://github.com/actions/runner-images/issues/10636
Changed files ESLint check: src/pages/workspace/accounting/MultiConnectionSelectorPage.tsx#L15
Unexpected parent import '../AccessOrNotFoundWrapper'. Use '@pages/workspace/AccessOrNotFoundWrapper' instead
Changed files ESLint check: src/pages/workspace/accounting/MultiConnectionSelectorPage.tsx#L78
React Hook useMemo has missing dependencies: 'integrationToDisconnect', 'policyID', 'popoverAnchorRefs', 'shouldDisconnectIntegrationBeforeConnecting', 'startIntegrationFlow', and 'translate'. Either include them or remove the dependency array
Changed files ESLint check: src/pages/workspace/accounting/nsqs/advanced/NSQSAdvancedPage.tsx#L28
The 'payableList' logical expression could make the dependencies of useMemo Hook (at line 38) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'payableList' in its own useMemo() Hook
Changed files ESLint check: src/pages/workspace/accounting/nsqs/advanced/NSQSApprovalAccountPage.tsx#L25
The 'payableList' logical expression could make the dependencies of useMemo Hook (at line 35) change on every render. Move it inside the useMemo callback. Alternatively, wrap the initialization of 'payableList' in its own useMemo() Hook