Skip to content

Use getValues for bindings #1927

Use getValues for bindings

Use getValues for bindings #1927

Triggered via pull request March 18, 2025 13:48
Status Failure
Total duration 5m 52s
Artifacts

lint.yml

on: pull_request
eslint, prettier, wp-scripts
39s
eslint, prettier, wp-scripts
phpcs
27s
phpcs
Psalm
25s
Psalm
Dependaban
11s
Dependaban
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
eslint, prettier, wp-scripts: src/blocks/remote-data-container/filters/withBlockBinding.tsx#L14
'getMismatchedAttributes' is defined but never used
eslint, prettier, wp-scripts: src/blocks/remote-data-container/index.ts#L16
`./config/constants` import should occur before import of `./hooks/useRemoteData`
eslint, prettier, wp-scripts: src/blocks/remote-data-container/index.ts#L67
Replace `queryKey:·string,·blockName:·string,·queryInputs:·Record<string,·string>)·=>·`${blockName}:${queryKey}:${JSON.stringify(queryInputs·??·{})` with `⏎↹queryKey:·string,⏎↹blockName:·string,⏎↹queryInputs:·Record<·string,·string·>⏎)·=>·`${·blockName·}:${·queryKey·}:${·JSON.stringify(·queryInputs·??·{}·)·`
eslint, prettier, wp-scripts: src/blocks/remote-data-container/index.ts#L71
Unsafe member access .type on an `any` value
eslint, prettier, wp-scripts: src/blocks/remote-data-container/index.ts#L76
Unsafe return of an `any` typed value
eslint, prettier, wp-scripts: src/blocks/remote-data-container/index.ts#L76
Replace `·...state,·[·queryDataStateKey(action.queryKey,·action.blockName,·action.queryInputs)·]:·action.data·` with `⏎↹↹↹↹↹...state,⏎↹↹↹↹↹[·queryDataStateKey(·action.queryKey,·action.blockName,·action.queryInputs·)·]:⏎↹↹↹↹↹↹action.data,⏎↹↹↹↹`
eslint, prettier, wp-scripts: src/blocks/remote-data-container/index.ts#L76
Unsafe assignment of an `any` value
eslint, prettier, wp-scripts: src/blocks/remote-data-container/index.ts#L76
Unsafe argument of type `any` assigned to a parameter of type `string`
Dependaban
The Ubuntu-20.04 brownout takes place from 2025-02-01. For more details, see https://github.com/actions/runner-images/issues/11101