Skip to content

Feat: Block messages from unknown numbers #700

Feat: Block messages from unknown numbers

Feat: Block messages from unknown numbers #700

Triggered via pull request October 1, 2024 05:04
Status Success
Total duration 43s
Artifacts

lint.yml

on: pull_request
check-lint
34s
check-lint
Fit to window
Zoom out
Zoom in

Annotations

12 warnings
check-lint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
check-lint
The following actions use a deprecated Node.js version and will be forced to run on node20: actions/checkout@v2, actions/setup-node@v1. For more info: https://github.blog/changelog/2024-03-07-github-actions-all-actions-will-run-on-node20-instead-of-node16-by-default/
check-lint: src/Socket/messages-recv.ts#L345
Unexpected any. Specify a different type
check-lint: src/Socket/messages-recv.ts#L854
"RESOLVED" is overridden by string in this union type
check-lint: src/Socket/registration.ts#L25
This assertion is unnecessary since it does not change the type of the expression
check-lint: src/Types/Contact.ts#L18
"changed" is overridden by string in this union type
check-lint: src/Types/Label.ts#L27
Don't declare enums, use literals instead
check-lint: src/Types/LabelAssociation.ts#L2
Don't declare enums, use literals instead
check-lint: src/Types/Socket.ts#L128
Unexpected any. Specify a different type
check-lint: src/Types/index.ts#L26
Don't declare enums, use literals instead
check-lint: src/Utils/baileys-event-stream.ts#L38
Type number trivially inferred from a number literal, remove type annotation
check-lint: src/Utils/chat-utils.ts#L41
Unexpected any. Specify a different type