Skip to content

fix: linter

fix: linter #9

Triggered via push May 29, 2024 18:04
Status Success
Total duration 1m 35s
Artifacts

lint.yml

on: push
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
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. 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. 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/create-wapi-app/bin/index.ts#L26
Unexpected any. Specify a different type
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
lint-and-build: packages/wapi.js/src/structures/interaction/index.ts#L107
Unexpected empty method 'addHeader'
lint-and-build: packages/wapi.js/src/structures/interaction/index.ts#L246
Unexpected empty method 'addHeader'
lint-and-build: packages/wapi.js/src/structures/interaction/index.ts#L373
Unexpected empty method 'addHeader'
lint-and-build: packages/wapi.js/src/structures/message/index.ts#L42
Unexpected any. Specify a different type
lint-and-build: packages/wapi.js/src/structures/message/index.ts#L42
Unexpected any. Specify a different type