Skip to content

Merge pull request #986 from Codeinwp/feat/banner-support #857

Merge pull request #986 from Codeinwp/feat/banner-support

Merge pull request #986 from Codeinwp/feat/banner-support #857

Triggered via push November 11, 2024 14:52
Status Success
Total duration 1m 0s
Artifacts

test-lint-js.yml

on: push
Matrix: npm
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 4 warnings
npm (18.x): js/ActionPopup/Actions.js#L1
'react' should be listed in the project's dependencies. Run 'npm i -S react' to add it
npm (18.x): js/ActionPopup/Actions.js#L2
'react-dom' should be listed in the project's dependencies. Run 'npm i -S react-dom' to add it
npm (18.x): js/ActionPopup/Actions.js#L2
'ReactDOM' is defined but never used
npm (18.x): js/ActionPopup/Actions.js#L9
Replace `(⏎↹↹↹<></>⏎↹↹)` with `·<></>`
npm (18.x): js/ActionPopup/Actions.js#L18
Replace `props.data.map((value,·index)·=>·` with `·props.data.map(⏎↹↹↹↹↹↹(·value,·index·)·=>⏎↹↹↹↹↹↹↹`
npm (18.x): js/ActionPopup/Actions.js#L19
Replace `↹↹↹↹↹↹<SortableItem·key={`item-${index}`}·index={index}·item={value}·loopIndex={index}·propRef={props}` with `↹↹↹↹↹↹↹↹<SortableItem⏎↹↹↹↹↹↹↹↹↹key={·`item-${·index·}`·}⏎↹↹↹↹↹↹↹↹↹index={·index·}⏎↹↹↹↹↹↹↹↹↹item={·value·}⏎↹↹↹↹↹↹↹↹↹loopIndex={·index·}⏎↹↹↹↹↹↹↹↹↹propRef={·props·}⏎↹↹↹↹↹↹↹↹`
npm (18.x): js/ActionPopup/Actions.js#L20
Replace `))` with `↹↹)⏎↹↹↹↹↹)·`
npm (18.x): js/ActionPopup/Actions.js#L26
Replace `Actions);` with `·Actions·);⏎`
npm (18.x): js/ActionPopup/SortableItem.js#L1
'react' should be listed in the project's dependencies. Run 'npm i -S react' to add it
npm (18.x): js/ActionPopup/SortableItem.js#L8
'close' is defined but never used
npm (18.x)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
npm (18.x)
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
npm (18.x): js/ActionPopup/SortableItem.js#L26
ItemGroup not found in '@wordpress/components'
npm (18.x): js/ActionPopup/SortableItem.js#L27
Item not found in '@wordpress/components'