Skip to content

fix: lint issues

fix: lint issues #2688

Triggered via pull request August 30, 2024 08:54
Status Success
Total duration 1m 31s
Artifacts

lint.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

14 warnings
golangci
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
golangci
Restore cache failed: Dependencies file is not found in /home/runner/work/frontier/frontier. Supported file pattern: go.sum
JS SDK Lint
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/
JS SDK Lint
The following actions use a deprecated Node.js version and will be forced to run on node20: pnpm/action-setup@v2, actions/setup-node@v2. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
JS SDK Lint: sdks/js/packages/core/react/components/onboarding/magiclink-verify.tsx#L82
React Hook useCallback has missing dependencies: 'client' and 'stateParam'. Either include them or remove the dependency array
JS SDK Lint: sdks/js/packages/core/react/components/organization/billing/invoices/index.tsx#L95
Anchor elements must have test attribute data-test-id
JS SDK Lint: sdks/js/packages/core/react/components/organization/billing/payment-issue.tsx#L42
Button elements must have a data-test-id attribute
JS SDK Lint: sdks/js/packages/core/react/components/organization/billing/payment-issue.tsx#L42
Elements with an onClick handler must have a data-test-id attribute
JS SDK Lint: sdks/js/packages/core/react/components/organization/billing/upcoming-billing-cycle.tsx#L51
Button elements must have a data-test-id attribute