Skip to content

rename blocks

rename blocks #56

Triggered via push November 14, 2024 10:11
Status Failure
Total duration 1m 27s
Artifacts

code.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 8 warnings
codeanalysis: packages/volto-blocks/src/components/blocks/IconsAndText/ViewItem.tsx#L53
Replace `⏎················className={cx('block-iconsandtext-title',·styles.title)}⏎··············` with `·className={cx('block-iconsandtext-title',·styles.title)}`
codeanalysis
Process completed with exit code 2.
codeanalysis: packages/volto-slate-extras/src/components/Widgets/TextEditorWidget/SimpleTextEditorWidget.jsx#L104
React Hook useEffect has a missing dependency: 'setDefaultCaretPosition'. Either include it or remove the dependency array
codeanalysis: packages/volto-slate-extras/src/components/Widgets/TextEditorWidget/SimpleTextEditorWidget.jsx#L113
React Hook useEffect has missing dependencies: 'fieldName', 'selected', and 'setDefaultCaretPosition'. Either include them or remove the dependency array
codeanalysis: packages/volto-slate-extras/src/helpers/blocks.js#L53
React Hook useEffect has missing dependencies: 'defaultSelectedField' and 'selectedField'. Either include them or remove the dependency array. If 'setSelectedField' needs the current value of 'defaultSelectedField', you can also switch to useReducer instead of useState and read 'defaultSelectedField' in the reducer
codeanalysis: packages/volto-slate-extras/src/helpers/blocks.js#L59
React Hook useEffect has missing dependencies: 'block', 'onSelectBlock', and 'selected'. Either include them or remove the dependency array
codeanalysis: packages/volto-slate-extras/src/helpers/blocks.js#L77
React Hook useEffect has a missing dependency: 'blockProps'. Either include it or remove the dependency array