Pulling feat/editor-links into develop #1391
Annotations
41 errors and 2 warnings
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L1
[@typescript-eslint/no-unused-vars] 'useState' is defined but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L1
[@typescript-eslint/no-unused-vars] 'useEffect' is defined but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L3
[import/no-duplicates] '/home/runner/work/frontendx/frontendx/node_modules/lexical/Lexical.js' imported multiple times.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L5
[@typescript-eslint/no-unused-vars] 'LinkNode' is defined but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L7
[@typescript-eslint/no-unused-vars] 'TextNode' is defined but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L11
[import/no-duplicates] '/home/runner/work/frontendx/frontendx/node_modules/lexical/Lexical.js' imported multiple times.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L14
[@typescript-eslint/no-unused-vars] 'Areduce' is defined but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L15
[@typescript-eslint/no-unused-vars] 'Amap' is defined but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L20
[@typescript-eslint/no-unused-vars] 'OtoNullable' is defined but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L21
[@typescript-eslint/no-unused-vars] 'OgetOrElse' is defined but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L22
[@typescript-eslint/no-unused-vars] 'ObindTo' is defined but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L24
[@typescript-eslint/no-unused-vars] 'Olet' is defined but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L32
[import/order] `@lexical/react/LexicalComposerContext` import should occur before import of `../context/atomConfigs`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L34
[@typescript-eslint/no-unused-vars] 'getAnchorElement' is assigned a value but never used.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L56
[no-redeclare] 'EditingLinkPopper' is already defined.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L61
[no-console] Unexpected console statement.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L62
[prettier/prettier] Insert `··`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L63
[prettier/prettier] Insert `·`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L64
[prettier/prettier] Insert `·`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L65
[prettier/prettier] Insert `·`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L66
[prettier/prettier] Insert `·`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L67
[prettier/prettier] Insert `·`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L68
[prettier/prettier] Insert `·`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L69
[prettier/prettier] Insert `·`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L71
[prettier/prettier] Replace `······` with `····`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L72
[prettier/prettier] Delete `··`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L73
[prettier/prettier] Delete `··`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L74
[prettier/prettier] Delete `··`
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L75
[prettier/prettier] Delete `··`
|
packages/editor-toolbar/src/components/InsertLinkButton.tsx#L14
[@typescript-eslint/no-unused-vars] 'setIsLink' is assigned a value but never used.
|
packages/editor-toolbar/src/components/InsertLinkButton.tsx#L16
[unicorn/prevent-abbreviations] The variable `ref` should be named `reference`. A more descriptive name will do too.
|
packages/editor-toolbar/src/components/InsertLinkButton.tsx#L22
[unicorn/no-null] Use `undefined` instead of `null`.
|
packages/editor-toolbar/src/components/InsertLinkButton.tsx#L36
[prettier/prettier] Insert `·`
|
packages/editor-toolbar/src/hooks/useLinkProperties.tsx#L4
[prettier/prettier] Replace `·$getSelection,·$isRangeSelection,·$isTextNode,·LexicalNode·` with `⏎··$getSelection,⏎··$isRangeSelection,⏎··$isTextNode,⏎··LexicalNode,⏎`
|
packages/editor-toolbar/src/hooks/useLinkProperties.tsx#L8
[prettier/prettier] Replace `⏎··isLinkAtom,⏎` with `·isLinkAtom·`
|
packages/editor-toolbar/src/hooks/useLinkProperties.tsx#L12
[arrow-body-style] Unexpected block statement surrounding arrow body; move the returned value immediately after the `=>`.
|
packages/editor-toolbar/src/hooks/useLinkProperties.tsx#L16
[prettier/prettier] Insert `,`
|
packages/editor-toolbar/src/hooks/useLinkProperties.tsx#L29
[prettier/prettier] Insert `,`
|
packages/editor-toolbar/src/hooks/useUpdateToolbar.ts#L11
[prettier/prettier] Delete `·`
|
lint
editor-toolbar#lint:out: command (/home/runner/work/frontendx/frontendx/packages/editor-toolbar) /tmp/yarn--1715703090878-0.7793618231700052/yarn run lint:out exited (1)
|
lint
Process completed with exit code 1.
|
packages/editor-toolbar/src/components/EditingLinkPopper.tsx#L56
[@typescript-eslint/no-redeclare] 'EditingLinkPopper' is already defined.
|
lint
Node.js 16 actions are deprecated. Please update the following actions to use Node.js 20: ataylorme/eslint-annotate-action@v2. For more information see: https://github.blog/changelog/2023-09-22-github-actions-transitioning-from-node-16-to-node-20/.
|