style: fix lint issues #7153
Annotations
20 errors and 10 warnings
π§ͺ Lint and test with Node v22.14.0:
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 and test with Node v22.14.0:
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 and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L23
Unexpected any. Specify a different type
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L84
Unexpected any. Specify a different type
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L90
Unexpected any. Specify a different type
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L94
Unexpected any. Specify a different type
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L102
Unexpected dangling '_' in '_isCommand'
|
π§ͺ Lint and test with Node v22.14.0:
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 and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L160
Expected object keys to be in insensitive ascending order. 'propsValue' should be before 'value'
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L177
Unexpected dangling '_' in '_closeAutocomplete'
|
Build SDK
Property 'messageDraft' does not exist on type 'ChannelState<StreamChatGenerics>'.\n" +
|
Build SDK
Property 'messageComposer' does not exist on type 'Channel<StreamChatGenerics>'.\n" +
|
Build SDK
Property 'addThread' does not exist on type 'ThreadManager<StreamChatGenerics>'.\n" +
|
Build SDK
Property 'messageDraft' does not exist on type 'ChannelState<StreamChatGenerics>'.\n" +
|
Build SDK
Property 'messageDraft' does not exist on type 'ChannelState<StreamChatGenerics>'.\n" +
|
Build SDK
Module '"stream-chat"' has no exported member 'TextComposerState'.\n` +
|
Build SDK
Module '"stream-chat"' has no exported member 'AttachmentManagerState'.\n` +
|
Build SDK
Parameter 'attachment' implicitly has an 'any' type.\n" +
|
Build SDK
'"stream-chat"' has no exported member named 'LocalAttachment'. Did you mean 'Attachment'?\n` +
|
Build SDK
Module '"stream-chat"' has no exported member 'AttachmentManagerState'.\n` +
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/List.tsx#L3
'MouseEventHandler' is defined but never used
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L10
'triggerPropsCheck' is defined but never used
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L112
'closeCommandsList' is assigned a value but never used
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L113
'closeMentionsList' is assigned a value but never used
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L114
'closeOnClickOutside' is assigned a value but never used
|
π§ͺ Lint and test with Node v22.14.0:
src/components/AutoCompleteTextarea/TextareaX.tsx#L122
'onBlur' is assigned a value but never used
|
π§ͺ Lint and test with Node v22.14.0:
src/components/ChatAutoComplete/ChatAutoComplete.tsx#L3
'AutoCompleteTextarea' is defined but never used
|
π§ͺ Lint and test with Node v22.14.0:
src/components/ChatAutoComplete/ChatAutoComplete.tsx#L10
'TextComposerState' is defined but never used
|
π§ͺ Lint and test with Node v22.14.0:
src/components/ChatAutoComplete/ChatAutoComplete.tsx#L19
'useStateStore' is defined but never used
|
π§ͺ Lint and test with Node v22.14.0:
src/components/ChatAutoComplete/ChatAutoComplete.tsx#L142
'SuggestionList' is assigned a value but never used
|
Loading