ci: add lint check for js sdk #2288
lint.yml
on: pull_request
golangci
18s
JS SDK Lint
34s
Annotations
14 warnings
golangci
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/setup-go@v4, actions/checkout@v3, golangci/golangci-lint-action@v3. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
golangci
Restore cache failed: Dependencies file is not found in /home/runner/work/frontier/frontier. Supported file pattern: go.sum
|
JS SDK Lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: pnpm/action-setup@v2, actions/setup-node@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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:
sdks/js/packages/core/react/components/Header.tsx#L24
'config' is assigned a value but never used
|
JS SDK Lint:
sdks/js/packages/core/react/components/avatar-upload/index.tsx#L2
'PixelCrop' is defined but never used
|
JS SDK Lint:
sdks/js/packages/core/react/components/avatar-upload/index.tsx#L18
'data' is defined but never used
|
JS SDK Lint:
sdks/js/packages/core/react/components/avatar-upload/index.tsx#L105
Elements with an onClick handler must have a data-test-id attribute
|
JS SDK Lint:
sdks/js/packages/core/react/components/avatar-upload/index.tsx#L120
Elements with an onChange handler must have a data-test-id attribute
|
JS SDK Lint:
sdks/js/packages/core/react/components/avatar-upload/index.tsx#L144
Button elements must have a data-test-id attribute
|
JS SDK Lint:
sdks/js/packages/core/react/components/avatar-upload/index.tsx#L144
Elements with an onClick handler must have a data-test-id attribute
|
JS SDK Lint:
sdks/js/packages/core/react/components/avatar-upload/index.tsx#L147
Button elements must have a data-test-id attribute
|
JS SDK Lint:
sdks/js/packages/core/react/components/avatar-upload/index.tsx#L147
Elements with an onClick handler must have a data-test-id attribute
|
JS SDK Lint:
sdks/js/packages/core/react/components/avatar-upload/index.tsx#L159
'value' is defined but never used
|