Remove custom styles, other small touch-ups, hide the cookie consent when close btn is pressed #1913
Annotations
3 errors and 12 warnings
Lint JS and CSS:
app/scripts/components/common/cookie-consent/index.tsx#L57
The closing bracket must be aligned with the opening tag (expected column 13)
|
Lint JS and CSS:
app/scripts/components/common/cookie-consent/index.tsx#L99
Expected closing tag to match indentation of opening
|
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/analysis/define/aoi-selector.tsx#L98
React Hook useCallback has a missing dependency: 'mapRef'. Either include it or remove the dependency array
|
Lint JS and CSS:
app/scripts/components/analysis/define/aoi-selector.tsx#L117
React Hook useEffect has a missing dependency: 'mapRef'. Either include it or remove the dependency array
|
Lint JS and CSS:
app/scripts/components/analysis/define/index.tsx#L295
Prefer using nullish coalescing operator (`??`) instead of a logical or (`||`), as it is a safer operator
|
Lint JS and CSS:
app/scripts/components/analysis/define/index.tsx#L336
React Hook useEffect has a missing dependency: 'datasetsLayers'. Either include it or remove the dependency array
|
Lint JS and CSS:
app/scripts/components/analysis/define/use-custom-aoi.ts#L129
Unnecessary conditional, value is always falsy
|
Lint JS and CSS:
app/scripts/components/analysis/page-hero-media.tsx#L143
React Hook useEffect has a missing dependency: 'theme.color'. Either include it or remove the dependency array
|
Lint JS and CSS:
app/scripts/components/analysis/page-hero-media.tsx#L159
Unexpected any. Specify a different type
|
Lint JS and CSS:
app/scripts/components/analysis/results/analysis-metrics-dropdown.tsx#L83
Unexpected any. Specify a different type
|
Lint JS and CSS:
app/scripts/components/analysis/results/concurrency.ts#L8
The use of method `shift` is not allowed as it might be a mutating method
|
Lint JS and CSS:
app/scripts/components/analysis/results/concurrency.ts#L28
The use of method `push` is not allowed as it might be a mutating method
|
Loading