Skip to content

fix: format, lint and build check #47

fix: format, lint and build check

fix: format, lint and build check #47

Triggered via push June 28, 2024 17:40
Status Success
Total duration 42s
Artifacts

lint.yml

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

Annotations

12 warnings
build-and-lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v2, pnpm/[email protected]. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
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: packages/create-wapi-app/bin/index.ts#L26
Unexpected any. Specify a different type
build-and-lint: 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
build-and-lint: packages/example-chat-bot/src/index.ts#L83
Promise returned in function argument where a void return was expected
build-and-lint: packages/example-chat-bot/src/index.ts#L100
Promise returned in function argument where a void return was expected
build-and-lint: 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
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'
build-and-lint: packages/wapi.js/src/structures/message/index.ts#L42
Unexpected any. Specify a different type
build-and-lint: packages/wapi.js/src/structures/message/index.ts#L42
Unexpected any. Specify a different type
build-and-lint: packages/wapi.js/src/structures/message/index.ts#L56
Unsafe return of an `any` typed value