Merge branch origin/master #7152
ci.yml
on: push
TypeScript
33s
Lint & test with Node
45s
Annotations
30 errors and 10 warnings
TypeScript:
node_modules/emoji-mart/dist/index.d.ts#L1
Cannot find module 'components/HTMLElement' or its corresponding type declarations.
|
TypeScript:
src/components/Channel/Channel.tsx#L398
Property 'messageDraft' does not exist on type 'ChannelState<StreamChatGenerics>'.
|
TypeScript:
src/components/Channel/Channel.tsx#L607
Property 'messageComposer' does not exist on type 'Channel<StreamChatGenerics>'.
|
TypeScript:
src/components/Channel/Channel.tsx#L1206
Property 'addThread' does not exist on type 'ThreadManager<StreamChatGenerics>'.
|
TypeScript:
src/components/Channel/channelState.ts#L131
Property 'messageDraft' does not exist on type 'ChannelState<StreamChatGenerics>'.
|
TypeScript:
src/components/Channel/channelState.ts#L147
Property 'messageDraft' does not exist on type 'ChannelState<StreamChatGenerics>'.
|
TypeScript:
src/components/ChatAutoComplete/ChatAutoComplete.tsx#L10
Module '"stream-chat"' has no exported member 'TextComposerState'.
|
TypeScript:
src/components/MessageInput/AttachmentPreviewList/AttachmentPreviewList.tsx#L30
Module '"stream-chat"' has no exported member 'AttachmentManagerState'.
|
TypeScript:
src/components/MessageInput/AttachmentPreviewList/AttachmentPreviewList.tsx#L81
Parameter 'attachment' implicitly has an 'any' type.
|
TypeScript:
src/components/MessageInput/AttachmentPreviewList/types.ts#L1
'"stream-chat"' has no exported member named 'LocalAttachment'. Did you mean 'Attachment'?
|
Lint & test with Node:
src/components/AutoCompleteTextarea/List.tsx#L80
The 'modifyText' function makes the dependencies of useCallback Hook (at line 100) change on every render. To fix this, wrap the definition of 'modifyText' in its own useCallback() Hook
|
Lint & test with Node:
src/components/AutoCompleteTextarea/List.tsx#L180
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L23
Unexpected any. Specify a different type
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L84
Unexpected any. Specify a different type
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L90
Unexpected any. Specify a different type
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L94
Unexpected any. Specify a different type
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L102
Unexpected dangling '_' in '_isCommand'
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L132
Use "@ts-expect-error" instead of "@ts-ignore", as "@ts-ignore" will do nothing if the following line is error-free
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L136
Expected object keys to be in sorted order. Expected innerRef to be before value
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L160
Expected object keys to be in insensitive ascending order. 'propsValue' should be before 'value'
|
Lint & test with Node
Property 'messageDraft' does not exist on type 'ChannelState<StreamChatGenerics>'.\n" +
|
Lint & test with Node
Property 'messageComposer' does not exist on type 'Channel<StreamChatGenerics>'.\n" +
|
Lint & test with Node
Property 'addThread' does not exist on type 'ThreadManager<StreamChatGenerics>'.\n" +
|
Lint & test with Node
Property 'messageDraft' does not exist on type 'ChannelState<StreamChatGenerics>'.\n" +
|
Lint & test with Node
Property 'messageDraft' does not exist on type 'ChannelState<StreamChatGenerics>'.\n" +
|
Lint & test with Node
Module '"stream-chat"' has no exported member 'TextComposerState'.\n` +
|
Lint & test with Node
Module '"stream-chat"' has no exported member 'AttachmentManagerState'.\n` +
|
Lint & test with Node
Parameter 'attachment' implicitly has an 'any' type.\n" +
|
Lint & test with Node
'"stream-chat"' has no exported member named 'LocalAttachment'. Did you mean 'Attachment'?\n` +
|
Lint & test with Node
Module '"stream-chat"' has no exported member 'AttachmentManagerState'.\n` +
|
Lint & test with Node:
src/components/AutoCompleteTextarea/List.tsx#L3
'MouseEventHandler' is defined but never used
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L10
'triggerPropsCheck' is defined but never used
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L112
'closeCommandsList' is assigned a value but never used
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L113
'closeMentionsList' is assigned a value but never used
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L114
'closeOnClickOutside' is assigned a value but never used
|
Lint & test with Node:
src/components/AutoCompleteTextarea/TextareaX.tsx#L121
'onBlur' is assigned a value but never used
|
Lint & test with Node:
src/components/Channel/Channel.tsx#L1183
'threadInstance' is never reassigned. Use 'const' instead
|
Lint & test with Node:
src/components/ChatAutoComplete/ChatAutoComplete.tsx#L3
'AutoCompleteTextarea' is defined but never used
|
Lint & test with Node:
src/components/ChatAutoComplete/ChatAutoComplete.tsx#L10
'TextComposerState' is defined but never used
|
Lint & test with Node:
src/components/ChatAutoComplete/ChatAutoComplete.tsx#L19
'useStateStore' is defined but never used
|