Skip to content

fix: linter

fix: linter #59

Triggered via push July 20, 2024 05:29
Status Success
Total duration 48s
Artifacts

lint.yml

on: push
build-and-lint
40s
build-and-lint
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
build-and-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, 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/
build-and-lint
The following actions uses Node.js version which is deprecated and will be forced to run on node20: actions/checkout@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/
build-and-lint: apps/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
build-and-lint: apps/example-chat-bot/src/index.ts#L83
Promise returned in function argument where a void return was expected
build-and-lint: apps/example-chat-bot/src/index.ts#L100
Promise returned in function argument where a void return was expected
build-and-lint: apps/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
build-and-lint: apps/wapi-ai-chatbot/src/index.ts#L5
Async function 'init' has no 'await' expression
build-and-lint: apps/wapi-ai-chatbot/src/index.ts#L15
Promise returned in function argument where a void return was expected
build-and-lint: apps/wapi-ai-chatbot/src/utils/cache.ts#L7
Unexpected any. Specify a different type
build-and-lint: packages/create-wapi-app/bin/index.ts#L26
Unexpected any. Specify a different type
build-and-lint: packages/wapi.js/src/structures/interaction/index.ts#L102
Unexpected empty method 'addHeader'
build-and-lint: packages/wapi.js/src/structures/interaction/index.ts#L241
Unexpected empty method 'addHeader'