refactor fileName #2236
Annotations
10 errors and 17 warnings
Run yarn lint:
src/components/PermissionsModal/PermissionsModal.js#L36
'permissions' is already declared in the upper scope on line 33 column 11
|
Run yarn lint:
src/components/PermissionsModal/utills/formatters.js#L9
Visible, non-interactive elements with click handlers must have at least one keyboard listener
|
Run yarn lint:
src/components/PermissionsModal/utills/formatters.js#L9
Avoid non-native interactive elements. If using native HTML is not possible, add an appropriate role and support for tabbing, mouse, keyboard, and touch inputs to an interactive content element
|
Run yarn lint:
src/hooks/api/types.ts#L71
Unexpected use of 'status'
|
Run yarn lint:
src/hooks/api/types.ts#L115
Unexpected use of 'name'
|
Run yarn lint:
test/jest/__mock__/reactIntl.mock.js#L3
'jest' is not defined
|
Run yarn lint:
test/jest/__mock__/reactIntl.mock.js#L12
'jest' is not defined
|
Run yarn lint:
test/jest/__mock__/reactIntl.mock.js#L23
'jest' is not defined
|
Run yarn lint:
test/jest/__mock__/reactIntl.mock.js#L24
'jest' is not defined
|
Run yarn lint:
test/jest/__mock__/resizeObserver.mock.js#L1
'jest' is not defined
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ***-org/checkout@v2, actions/setup-node@v3, actions/upload-artifact@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: ***-org/checkout@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/
|
Publish Jest unit test results
Value "update last" for option comment_mode is deprecated! Instead, use value "always".
|
Publish Jest unit test results
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Publish BigTest unit test results
Value "update last" for option comment_mode is deprecated! Instead, use value "always".
|
Publish BigTest unit test results
Could not find any files for artifacts/runTest/*.xml
|
Publish BigTest unit test results
The `set-output` command is deprecated and will be disabled soon. Please upgrade to using Environment Files. For more information see: https://github.blog/changelog/2022-10-11-github-actions-deprecating-save-state-and-set-output-commands/
|
Run yarn lint:
src/components/BulkEditList/BulkEditList.js#L82
React Hook useEffect has missing dependencies: 'identifierFilters', 'logsFilters', and 'queryFilters'. Either include them or remove the dependency array
|
Run yarn lint:
src/components/BulkEditList/BulkEditList.js#L154
React Hook useMemo has an unnecessary dependency: 'history.location.search'. Either exclude it or remove the dependency array
|
Run yarn lint:
src/components/BulkEditList/BulkEditListResult/BulkEditInApp/ContentUpdatesForm/ContentUpdatesForm.js#L247
React Hook useEffect has missing dependencies: 'onContentUpdatesChanged' and 'options'. Either include them or remove the dependency array. If 'onContentUpdatesChanged' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run yarn lint:
src/components/BulkEditList/BulkEditListResult/BulkEditInAppPreviewModal/BulkEditInAppPreviewModal.js#L164
React Hook useEffect has missing dependencies: 'bulkOperationId', 'bulkOperationStart', 'contentUpdate', 'onKeepEditing', 'queryClient', and 'swwCallout'. Either include them or remove the dependency array. If 'onKeepEditing' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Run yarn lint:
src/components/BulkEditList/BulkEditListResult/PreviewContainer/PreviewContainer.js#L37
React Hook useMemo has a missing dependency: 'intl'. Either include it or remove the dependency array
|
Run yarn lint:
src/components/BulkEditList/BulkEditListSidebar/IdentifierTab/IdentifierTab.js#L104
React Hook useCallback has missing dependencies: 'history', 'setInAppCommitted', 'setIsFileUploaded', and 'setVisibleColumns'. Either include them or remove the dependency array
|
Run yarn lint:
src/components/BulkEditList/BulkEditListSidebar/LogsTab/LogsTab.js#L59
React Hook useCallback received a function whose dependencies are unknown. Pass an inline function instead
|
Run yarn lint:
src/components/BulkEditLogs/BulkEditLogsActions/BulkEditLogsActions.js#L49
React Hook useEffect has a missing dependency: 'refetch'. Either include it or remove the dependency array
|
Run yarn lint:
src/components/BulkEditLogs/BulkEditLogsActions/BulkEditLogsActions.js#L88
React Hook useCallback has a missing dependency: 'fileNamePostfix'. Either include it or remove the dependency array
|
Run yarn lint:
src/components/ProgressBar/ProgressBar.js#L58
React Hook useEffect has missing dependencies: 'bulkDetails', 'clearIntervalAndRedirect', 'id', and 'swwCallout'. Either include them or remove the dependency array
|
The logs for this run have expired and are no longer available.
Loading