Skip to content

Fix Code Style

Fix Code Style #119

Triggered via push January 20, 2024 23:14
Status Failure
Total duration 1m 19s
Artifacts

js-qa.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

8 errors and 2 warnings
build: sources/client/src/components/composite-entities-by-kind.tsx#L54
Unexpected console statement
build: sources/client/src/components/composite-entities-by-kind.tsx#L92
Unexpected console statement
build: sources/client/src/components/search-control.tsx#L12
'props' is already declared in the upper scope on line 7 column 2
build: sources/client/src/components/search-control.tsx#L20
Expected an assignment or function call and instead saw an expression
build: sources/server/src/Modules/E2e/resources/js/taxonomies-example-block/index.js#L2
'Immutable' is assigned a value but never used
build: tests/client/integration/components/composite-entities-by-kind.test.tsx#L353
["exclude"] is better written in dot notation
build
Process completed with exit code 1.
build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/setup-node@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
build: sources/client/src/components/search-control.tsx#L15
React Hook useCallback has an unnecessary dependency: 'props.id'. Either exclude it or remove the dependency array