Skip to content

WIP ESlint errors

WIP ESlint errors #112

Triggered via pull request July 19, 2023 18:01
@jenny-s51jenny-s51
synchronize #33
Status Failure
Total duration 8m 3s
Artifacts 1

pr-preview.yml

on: pull_request_target
Matrix: test_integration
Fit to window
Zoom out
Zoom in

Annotations

13 errors and 20 warnings
lint: packages/react-code-editor/src/components/CodeEditor/CodeEditor.tsx#L233
CodeEditor: All exported Components must have a displayName
lint: packages/react-core/src/components/Alert/AlertGroup.tsx#L29
AlertGroup: All exported Components must have a displayName
lint: packages/react-core/src/components/Checkbox/Checkbox.tsx#L51
Checkbox: All exported Components must have a displayName
lint: packages/react-core/src/components/Chip/Chip.tsx#L53
Chip: All exported Components must have a displayName
lint: packages/react-core/src/components/Chip/ChipGroup.tsx#L62
ChipGroup: All exported Components must have a displayName
lint: packages/react-core/src/components/ClipboardCopy/ClipboardCopy.tsx#L86
ClipboardCopy: All exported Components must have a displayName
lint: packages/react-core/src/components/ClipboardCopy/ClipboardCopyExpanded.tsx#L15
ClipboardCopyExpanded: All exported Components must have a displayName
lint: packages/react-core/src/components/DataList/DataList.tsx#L54
DataList: All exported Components must have a displayName
lint: packages/react-core/src/components/DataList/DataListItem.tsx#L27
DataListItem: All exported Components must have a displayName
lint: packages/react-core/src/components/DualListSelector/DualListSelector.tsx#L137
DualListSelector: All exported Components must have a displayName
test_integration (3, 5)
Process completed with exit code 3.
docs
Process completed with exit code 1.
docs
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint: packages/react-core/src/components/BackToTop/BackToTop.tsx#L36
The 'toggleVisible' function makes the dependencies of useEffect Hook (at line 72) change on every render. Move it inside the useEffect callback. Alternatively, wrap the definition of 'toggleVisible' in its own useCallback() Hook
lint: packages/react-core/src/components/CalendarMonth/CalendarMonth.tsx#L179
React Hook useEffect has a missing dependency: 'focusedDate'. Either include it or remove the dependency array
lint: packages/react-core/src/components/CalendarMonth/CalendarMonth.tsx#L189
React Hook useEffect has a missing dependency: 'shouldFocus'. Either include it or remove the dependency array
lint: packages/react-core/src/components/DatePicker/DatePicker.tsx#L120
React Hook React.useMemo has a missing dependency: 'placeholder.length'. Either include it or remove the dependency array
lint: packages/react-core/src/components/DatePicker/DatePicker.tsx#L129
React Hook React.useEffect has a missing dependency: 'dateParse'. Either include it or remove the dependency array. If 'dateParse' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: packages/react-core/src/components/DatePicker/DatePicker.tsx#L137
React Hook React.useEffect has missing dependencies: 'dateParse', 'errorText', and 'setError'. Either include them or remove the dependency array. If 'dateParse' changes too often, find the parent component that defines it and wrap that definition in useCallback
lint: packages/react-core/src/components/DatePicker/DatePicker.tsx#L197
React Hook useImperativeHandle has an unnecessary dependency: 'selectOpen'. Either exclude it or remove the dependency array
lint: packages/react-core/src/components/Drawer/DrawerPanelContent.tsx#L178
Assignments to the 'setInitialVals' variable from inside React Hook React.useCallback will be lost after each render. To preserve the value over time, store it in a useRef Hook and keep the mutable value in the '.current' property. Otherwise, you can move this variable directly inside React.useCallback
lint: packages/react-core/src/components/Drawer/DrawerPanelContent.tsx#L194
React Hook React.useCallback has missing dependencies: 'handleControlMove' and 'position'. Either include them or remove the dependency array
lint: packages/react-core/src/components/Drawer/DrawerPanelContent.tsx#L195
React Hook React.useCallback has missing dependencies: 'callbackTouchEnd', 'callbackTouchMove', 'currWidth', 'id', and 'onResize'. Either include them or remove the dependency array. If 'onResize' changes too often, find the parent component that defines it and wrap that definition in useCallback
demo_app
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2, actions/upload-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_integration (1, 5)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2, actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_integration (0, 5)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2, actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_integration (3, 5)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2, actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
docs
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_integration (2, 5)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2, actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_integration (4, 5)
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2, actions/download-artifact@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
test_jest
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1, actions/cache@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/

Artifacts

Produced during runtime
Name Size
demo-app Expired
5.17 MB