Spike: Add inline AI autocomplete for Lexical editor #695
Annotations
5 errors and 9 warnings
|
Run linters
Process completed with exit code 1.
|
|
Run linters:
frontend/src/editor/editor.tsx#L218
Potential leaked value that might cause unintentionally rendered values or rendering crashes
|
|
Run linters:
frontend/src/editor/InlineAutocompletePlugin.tsx#L107
Unsafe argument of type `any` assigned to a parameter of type `SetStateAction<string>`
|
|
Run linters:
frontend/src/editor/InlineAutocompletePlugin.tsx#L105
Unsafe call of a(n) `any` typed value
|
|
Run linters:
frontend/src/editor/InlineAutocompletePlugin.tsx#L102
Unsafe call of a(n) `any` typed value
|
|
Run linters:
frontend/src/pages/chat/index.tsx#L155
Promise-returning function provided to attribute where a void return was expected
|
|
Run linters:
frontend/src/pages/chat/index.tsx#L148
Promise-returning function provided to attribute where a void return was expected
|
|
Run linters:
frontend/src/logs/index.tsx#L340
Promise returned in function argument where a void return was expected
|
|
Run linters:
frontend/src/logs/index.tsx#L230
Promise-returning function provided to attribute where a void return was expected
|
|
Run linters:
frontend/src/logs/index.tsx#L181
Promise-returning function provided to attribute where a void return was expected
|
|
Run linters:
frontend/src/editor/InlineAutocompletePlugin.tsx#L244
React Hook useEffect has a missing dependency: 'fetchSuggestion'. Either include it or remove the dependency array
|
|
Run linters:
frontend/src/editor/InlineAutocompletePlugin.tsx#L201
React Hook useEffect has a missing dependency: 'acceptSuggestion'. Either include it or remove the dependency array
|
|
Run linters:
frontend/src/editor/InlineAutocompletePlugin.tsx#L63
'isLoading' is assigned a value but never used. Allowed unused vars must match /^_/u
|
|
Run linters:
frontend/src/editor/InlineAutocompletePlugin.tsx#L13
'LexicalEditor' is defined but never used. Allowed unused vars must match /^_/u
|