fix/caret: Fix caret and formatting issue #319
Annotations
10 errors and 2 warnings
eslint:
src/index.js#L2
Replace `·Fragment,·useState,·useRef,·useEffect,·useMemo·` with `⏎↹Fragment,⏎↹useState,⏎↹useRef,⏎↹useEffect,⏎↹useMemo,⏎`
|
eslint:
src/index.js#L43
React Hook "useState" is called in function "edit" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|
eslint:
src/index.js#L44
React Hook "useRef" is called in function "edit" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|
eslint:
src/index.js#L47
'character' is already declared in the upper scope on line 22 column 22
|
eslint:
src/index.js#L54
Replace `⏎↹↹↹↹value,⏎↹↹↹↹richTextCharacter,⏎↹↹↹↹start,⏎↹↹↹↹end⏎↹↹↹` with `·value,·richTextCharacter,·start,·end·`
|
eslint:
src/index.js#L69
Invalid JSDoc tag (preference). Replace "returns" JSDoc tag with "return"
|
eslint:
src/index.js#L78
Invalid JSDoc tag (preference). Replace "returns" JSDoc tag with "return"
|
eslint:
src/index.js#L80
'node' is already declared in the upper scope on line 71 column 33
|
eslint:
src/index.js#L81
'Node' is not defined
|
eslint:
src/index.js#L103
React Hook "useMemo" is called in function "edit" that is neither a React function component nor a custom React Hook function. React component names must start with an uppercase letter. React Hook names must start with the word "use"
|
eslint
The following actions uses node12 which is deprecated and will be forced to run on node16: actions/checkout@v2. For more info: https://github.blog/changelog/2023-06-13-github-actions-all-actions-will-run-on-node16-instead-of-node12-by-default/
|
eslint:
src/index.js#L64
Expected JSDoc block lines to be aligned
|