Skip to content

fix: linter

fix: linter #139

Triggered via push May 29, 2024 18:00
Status Failure
Total duration 37s
Artifacts
lint-and-build
29s
lint-and-build
Fit to window
Zoom out
Zoom in

Annotations

5 errors and 6 warnings
lint-and-build: packages/example-chat-bot/src/events/TextMessage.ts#L1
Unable to resolve path to module '@wapijs/wapi.js'
lint-and-build: packages/example-chat-bot/src/index.ts#L2
Unable to resolve path to module '@wapijs/wapi.js'
lint-and-build: packages/example-chat-bot/src/utils/client.ts#L1
Unable to resolve path to module '@wapijs/wapi.js'
lint-and-build
@wapijs/example-chat-bot#lint: command (/home/runner/work/wapi.js/wapi.js/packages/example-chat-bot) /home/runner/setup-pnpm/node_modules/.bin/pnpm run lint exited (1)
lint-and-build
Process completed with exit code 1.
lint-and-build
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, pnpm/action-setup@v2.2.4, actions/github-script@v5. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
lint-and-build
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v2, actions/github-script@v5. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
lint-and-build: packages/example-chat-bot/src/index.ts#L66
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
lint-and-build: packages/example-chat-bot/src/index.ts#L83
Promise returned in function argument where a void return was expected
lint-and-build: packages/example-chat-bot/src/index.ts#L100
Promise returned in function argument where a void return was expected
lint-and-build: packages/example-chat-bot/src/index.ts#L109
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free