Skip to content

Feat/better eslint rules #54

Feat/better eslint rules

Feat/better eslint rules #54

Triggered via pull request March 18, 2024 10:56
Status Failure
Total duration 1m 10s
Artifacts

ci.yml

on: pull_request
Matrix: Build & Test
Fit to window
Zoom out
Zoom in

Annotations

6 errors and 10 warnings
Build & Test (16.x): app/components/RepoList/index.js#L22
'props' is already declared in the upper scope on line 16 column 19
Build & Test (16.x): app/themes/styles.js#L11
Arrow function has too many parameters (4). Maximum allowed is 3
Build & Test (16.x): app/themes/styles.js#L24
Arrow function has too many parameters (4). Maximum allowed is 3
Build & Test (16.x): app/utils/reducer.js#L16
Arrow function has too many parameters (4). Maximum allowed is 3
Build & Test (16.x): app/utils/sagaInjectors.js#L74
Function 'ejectSaga' has a complexity of 6. Maximum allowed is 5
Build & Test (16.x)
Process completed with exit code 1.
Build & Test (16.x)
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
Build & Test (16.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/
Build & Test (16.x): app/containers/Info/index.js#L33
React Hook useEffect has missing dependencies: 'details', 'dispatchRequestInfo', and 'query.owner'. Either include them or remove the dependency array. If 'dispatchRequestInfo' changes too often, find the parent component that defines it and wrap that definition in useCallback
Build & Test (16.x): app/containers/Repos/index.js#L42
React Hook useEffect has missing dependencies: 'dispatchGetGithubRepos', 'repos', and 'searchKey'. Either include them or remove the dependency array. If 'dispatchGetGithubRepos' changes too often, find the parent component that defines it and wrap that definition in useCallback
Build & Test (16.x): app/utils/injectSaga.js#L30
React Hook useEffect has missing dependencies: 'injectors' and 'props'. Either include them or remove the dependency array
Build & Test (16.x): app/utils/injectSaga.js#L50
React Hook useEffect has missing dependencies: 'injectors', 'key', 'mode', and 'saga'. Either include them or remove the dependency array
Build & Test (16.x): app/utils/injectSaga.js#L53
Assign object to a variable before exporting as module default
Build & Test (16.x): pages/index.js#L2
Using exported name 'Repos' as identifier for default export
Build & Test (16.x): pages/info/[name].js#L3
Using exported name 'Info' as identifier for default export
Build & Test (16.x)
Unexpected input(s) 'cache', valid inputs are ['always-auth', 'node-version', 'registry-url', 'scope', 'version']