Update MailUiEditor.tsx #5
Annotations
10 errors and 6 warnings
Lint:
src/MailUiEditor.ts#L3
Replace `CSSProperties` with `·CSSProperties·`
|
Lint:
src/MailUiEditor.ts#L6
Replace `Editor·as·EditorClass` with `·Editor·as·EditorClass·`
|
Lint:
src/MailUiEditor.ts#L13
Delete `··`
|
Lint:
src/MailUiEditor.ts#L17
Delete `··`
|
Lint:
src/MailUiEditor.ts#L18
Delete `··`
|
Lint:
src/MailUiEditor.ts#L19
Delete `··`
|
Lint:
src/MailUiEditor.ts#L20
Delete `··`
|
Lint:
src/MailUiEditor.ts#L21
Delete `··`
|
Lint:
src/MailUiEditor.ts#L23
Delete `··`
|
Lint:
src/MailUiEditor.ts#L25
Delete `··`
|
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: actions/checkout@v2, actions/setup-node@v1. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|
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/
|
Lint:
src/hooks/useEditorInitialization.ts#L13
React Hook useEffect has missing dependencies: 'editor', 'options', and 'setEditor'. Either include them or remove the dependency array. If 'setEditor' changes too often, find the parent component that defines it and wrap that definition in useCallback
|
Lint:
src/hooks/useEditorInitialization.ts#L13
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Lint:
src/hooks/useEventHandlers.ts#L26
React Hook useEffect has missing dependencies: 'eventProps' and 'props'. Either include them or remove the dependency array. However, 'props' will change when *any* prop changes, so the preferred fix is to destructure the 'props' object outside of the useEffect call and refer to those specific props inside useEffect
|
Lint:
src/hooks/useEventHandlers.ts#L26
React Hook useEffect has a complex expression in the dependency array. Extract it to a separate variable so it can be statically checked
|
Loading