Refactor page header to use USWDS components #2125
Annotations
5 errors and 12 warnings
Lint JS and CSS:
app/scripts/components/common/page-header/nav/create-dynamic-nav-menu-list.tsx#L2
`$types/veda` import should occur after import of `./nav-item-cta`
|
Lint JS and CSS:
app/scripts/components/common/page-header/nav/nav-dropdown-button.tsx#L2
`$types/veda` import should occur after import of `../types`
|
Lint JS and CSS:
app/scripts/components/common/page-header/nav/nav-dropdown-button.tsx#L5
`./create-dynamic-nav-menu-list` import should occur after import of `../types`
|
Lint JS and CSS:
app/scripts/components/common/page-header/nav/nav-item-links.tsx#L3
`../types` import should occur before import of `$types/veda`
|
Lint JS and CSS
Process completed with exit code 1.
|
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v3, actions/cache@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
|
Lint JS and CSS:
app/scripts/components/common/aoi/types.d.ts#L38
Unexpected any. Specify a different type
|
Lint JS and CSS:
app/scripts/components/common/aoi/use-aoi-controls.ts#L131
React Hook useCallback has a missing dependency: 'mapRef'. Either include it or remove the dependency array. If 'setAoi' needs the current value of 'mapRef', you can also switch to useReducer instead of useState and read 'mapRef' in the reducer
|
|
|
Lint JS and CSS:
app/scripts/components/common/blocks/block-map.tsx#L184
React Hook useMemo has a missing dependency: 'datasetLayers'. Either include it or remove the dependency array
|
|
|
Lint JS and CSS:
app/scripts/components/common/blocks/index.tsx#L257
Replace `······` with `····`
|
Lint JS and CSS:
app/scripts/components/common/blocks/index.tsx#L258
Replace `··return·typeVal._payload.value[typeVal._payload.value.length-` with `return·typeVal._payload.value[typeVal._payload.value.length·-·`
|
|
Loading