closed/Issues/4377 #11870
Triggered via pull request
February 11, 2024 08:01
BenedettoMarcoSerinelli
opened
#4380
Status
Failure
Total duration
1m 9s
Artifacts
–
frontend.yaml
on: pull_request_target
build-and-test
1m 1s
Annotations
10 errors and 11 warnings
build-and-test:
kafka-ui-react-app/src/components/NavBar/NavBar.tsx#L13
There should be at least one empty line between import groups
|
build-and-test:
kafka-ui-react-app/src/components/NavBar/NavBar.tsx#L14
`lib/api` import should occur before import of `./UserInfo/UserInfo`
|
build-and-test:
kafka-ui-react-app/src/components/Version/Version.tsx#L4
'useLatestVersion' is defined but never used
|
build-and-test:
kafka-ui-react-app/src/components/Version/Version.tsx#L5
There should be at least one empty line between import groups
|
build-and-test:
kafka-ui-react-app/src/components/Version/Version.tsx#L6
There should be at least one empty line between import groups
|
build-and-test:
kafka-ui-react-app/src/components/Version/Version.tsx#L6
'PreferencesApi' is defined but never used
|
build-and-test:
kafka-ui-react-app/src/components/Version/Version.tsx#L6
Relative imports from parent directories are not allowed. Please either pass what you're importing through at runtime (dependency injection), move `Version.tsx` to same directory as `../../generated-sources` or consider making `../../generated-sources` a package
|
build-and-test:
kafka-ui-react-app/src/components/Version/Version.tsx#L7
There should be at least one empty line between import groups
|
build-and-test:
kafka-ui-react-app/src/components/Version/Version.tsx#L8
`lib/api` import should occur before import of `../../generated-sources`
|
build-and-test:
kafka-ui-react-app/src/components/Version/Version.tsx#L12
Unexpected any. Specify a different type
|
build-and-test
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v3, pnpm/[email protected], actions/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
|
build-and-test:
kafka-ui-react-app/src/components/NavBar/NavBar.tsx#L54
Replace `""` with `''`
|
build-and-test:
kafka-ui-react-app/src/components/NavBar/NavBar.tsx#L58
Replace `"");⏎` with `'');`
|
build-and-test:
kafka-ui-react-app/src/components/NavBar/NavBar.tsx#L73
Unexpected console statement
|
build-and-test:
kafka-ui-react-app/src/components/NavBar/NavBar.tsx#L97
Replace `(⏎··············<img·src={logoBase64}·alt="Logo"·/>⏎············)·:·(⏎··············<Logo·/>⏎············)` with `<img·src={logoBase64}·alt="Logo"·/>·:·<Logo·/>`
|
build-and-test:
kafka-ui-react-app/src/components/NavBar/NavBar.tsx#L102
Replace `(⏎··············<span>{appName}</span>⏎············)·:·(⏎··············"UI·for·Apache·Kafka"⏎············)` with `<span>{appName}</span>·:·'UI·for·Apache·Kafka'`
|
|
|
|
|