Skip to content

Clean unnecessary code up #168

Clean unnecessary code up

Clean unnecessary code up #168

Triggered via push September 19, 2023 22:46
Status Failure
Total duration 2m 45s
Artifacts

main.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 1 warning
Build
Argument of type 'import("/home/runner/work/baseapp-frontend/baseapp-frontend/packages/utils/node_modules/axios/index").AxiosInstance' is not assignable to parameter of type 'import("/home/runner/work/baseapp-frontend/baseapp-frontend/node_modules/axios/index").AxiosInstance'.
Build
Argument of type '(cookieName: string) => any' is not assignable to parameter of type '() => { [key: string]: string; }'.
Build
Argument of type '(cookieName: string) => any' is not assignable to parameter of type '() => { [key: string]: string; }'.
Build
@baseapp-frontend/utils#build: command (/home/runner/work/baseapp-frontend/baseapp-frontend/packages/utils) yarn run build exited (1)
Build
Process completed with exit code 1.
Lint
Argument of type 'import("/home/runner/work/baseapp-frontend/baseapp-frontend/packages/utils/node_modules/axios/index").AxiosInstance' is not assignable to parameter of type 'import("/home/runner/work/baseapp-frontend/baseapp-frontend/node_modules/axios/index").AxiosInstance'.
Lint
Argument of type '(cookieName: string) => any' is not assignable to parameter of type '() => { [key: string]: string; }'.
Lint
Argument of type '(cookieName: string) => any' is not assignable to parameter of type '() => { [key: string]: string; }'.
Lint
@baseapp-frontend/utils#lint: command (/home/runner/work/baseapp-frontend/baseapp-frontend/packages/utils) yarn run lint exited (2)
Lint
Process completed with exit code 2.
Lint: packages/core/src/auth/login.tsx#L46
React Hook useEffect has a missing dependency: 'router'. Either include it or remove the dependency array