Skip to content

Feat: Block messages from unknown numbers #698

Feat: Block messages from unknown numbers

Feat: Block messages from unknown numbers #698

Triggered via pull request October 1, 2024 04:49
Status Failure
Total duration 42s
Artifacts

lint.yml

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

Annotations

6 errors and 12 warnings
check-lint: src/Socket/chats.ts#L1
Run autofix to sort these imports!
check-lint: src/Socket/chats.ts#L11
'Label' is defined but never used
check-lint: src/Socket/chats.ts#L97
'updateMessagesPrivacy' is assigned a value but never used
check-lint: src/Socket/chats.ts#L228
Extra semicolon
check-lint: src/Socket/chats.ts#L258
Extra semicolon
check-lint
Process completed with exit code 1.
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