fix: resolve all ESLint errors blocking CI build #228
build.yml
on: push
lint-test
1m 34s
build-windows
0s
build-macos
0s
build-linux-x64
0s
build-linux-arm64
0s
release
6s
Annotations
9 errors and 12 warnings
|
lint-test
Process completed with exit code 1.
|
|
lint-test:
src/lib/runtime/sdk-runtime.ts#L24
A `require()` style import is forbidden
|
|
lint-test:
src/lib/claude-client.ts#L417
A `require()` style import is forbidden
|
|
lint-test:
src/lib/claude-client.ts#L416
A `require()` style import is forbidden
|
|
lint-test:
src/lib/builtin-tools/media.ts#L58
Unexpected any. Specify a different type
|
|
lint-test:
src/lib/builtin-tools/media.ts#L35
Unexpected any. Specify a different type
|
|
lint-test:
src/lib/builtin-tools/dashboard.ts#L87
Unexpected any. Specify a different type
|
|
lint-test:
src/lib/builtin-tools/dashboard.ts#L34
Unexpected any. Specify a different type
|
|
release
Process completed with exit code 1.
|
|
lint-test
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/setup-node@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
lint-test:
src/__tests__/e2e/chat.spec.ts#L6
'waitForStreamingEnd' is defined but never used
|
|
lint-test:
src/__tests__/e2e/chat.spec.ts#L5
'waitForStreamingStart' is defined but never used
|
|
lint-test:
src/__tests__/e2e/chat-enhanced.spec.ts#L21
'waitForPageReady' is defined but never used
|
|
lint-test:
src/__tests__/e2e/chat-enhanced.spec.ts#L17
'waitForStreamingStart' is defined but never used
|
|
lint-test:
src/__tests__/e2e/chat-enhanced.spec.ts#L15
'assistantAvatar' is defined but never used
|
|
lint-test:
src/__tests__/e2e/chat-enhanced.spec.ts#L14
'userAvatar' is defined but never used
|
|
lint-test:
src/__tests__/e2e/chat-enhanced.spec.ts#L9
'codeBlockLanguageLabel' is defined but never used
|
|
lint-test:
src/__tests__/e2e/chat-enhanced.spec.ts#L8
'codeBlocks' is defined but never used
|
|
lint-test:
apps/site/src/components/marketing/HeroSection.tsx#L15
'prefix' is assigned a value but never used
|
|
lint-test:
apps/site/src/components/marketing/ChatDemo.tsx#L135
'cls' is assigned a value but never used
|
|
release
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4, actions/download-artifact@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|