Skip to content

fix(RichTextEditor): pasting mentions, links, and code [WPB-12089] #6269

fix(RichTextEditor): pasting mentions, links, and code [WPB-12089]

fix(RichTextEditor): pasting mentions, links, and code [WPB-12089] #6269

Triggered via pull request January 14, 2025 13:47
Status Failure
Total duration 3m 15s
Artifacts

ci.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

10 errors and 10 warnings
test: src/script/components/InputBar/components/RichTextEditor/plugins/PastePlugin/PastePlugin.tsx#L48
Function expression, which lacks return-type annotation, implicitly has an 'any' return type.
test: src/script/components/InputBar/components/RichTextEditor/plugins/PastePlugin/PastePlugin.tsx#L140
Property 'lastIndex' does not exist on type 'never'.
test: src/script/components/InputBar/components/RichTextEditor/plugins/PastePlugin/PastePlugin.tsx#L141
Property 'segments' does not exist on type 'never'.
test: src/script/components/InputBar/components/RichTextEditor/plugins/PastePlugin/PastePlugin.tsx#L143
Property 'lastIndex' does not exist on type 'never'.
test: src/script/components/InputBar/components/RichTextEditor/plugins/PastePlugin/PastePlugin.tsx#L144
Property 'lastIndex' does not exist on type 'never'.
test: src/script/components/InputBar/components/RichTextEditor/plugins/PastePlugin/PastePlugin.tsx#L147
Property 'substring' does not exist on type 'never'.
test: src/script/components/InputBar/components/RichTextEditor/plugins/PastePlugin/PastePlugin.tsx#L153
Property 'length' does not exist on type 'never'.
test: src/script/components/InputBar/components/RichTextEditor/plugins/PastePlugin/PastePlugin.tsx#L157
Property 'segments' does not exist on type 'string'.
test: server/config/client.config.ts#L80
No magic number: 4
test: server/config/client.config.ts#L83
No magic number: 500
test: server/config/client.config.ts#L84
No magic number: 4
test: server/config/client.config.ts#L85
No magic number: 8
test: server/config/index.ts#L32
Caution: `dotenv` also has a named export `load`. Check if you meant to write `import {load} from 'dotenv-extended'` instead
test: server/config/server.config.ts#L112
No magic number: 21080
test: server/routes/RedirectRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead
test: server/routes/Root.ts#L29
Caution: `maxmind` also has a named export `open`. Check if you meant to write `import {open} from 'maxmind'` instead
test: server/routes/Root.ts#L29
Caution: `geolite2` also has a named export `paths`. Check if you meant to write `import {paths} from 'geolite2'` instead
test: server/routes/error/ErrorRoutes.ts#L26
Caution: `express` also has a named export `Router`. Check if you meant to write `import {Router} from 'express'` instead