Use CSS Custom Highlight API for search result highlighting #44
Annotations
9 errors
|
lint
Process completed with exit code 1.
|
|
lint:
website/src/hooks/useSearchHighlight.ts#L45
Unnecessary optional chain on a non-nullish value
|
|
lint:
website/src/hooks/useSearchHighlight.ts#L35
Unnecessary conditional, value is always truthy
|
|
lint:
website/src/hooks/useSearchHighlight.ts#L6
Unnecessary conditional, value is always truthy
|
|
lint:
website/src/hooks/useSearchHighlight.ts#L1
`RefObject` type import should occur before import of `useLayoutEffect`
|
|
lint:
website/src/components/SearchPage.tsx#L9
`./RedX.tsx` import should occur before import of `./SearchPage.module.css`
|
|
lint:
website/src/components/SearchPage.tsx#L8
`./OrangeStar.tsx` import should occur before import of `./SearchPage.module.css`
|
|
lint:
website/src/components/DataTable.tsx#L7
`../hooks/useSearchHighlight.ts` import should occur before import of `./DataTable/components/TableBody.tsx`
|
|
lint:
genark2jbrowse/src/util.ts#L27
This assertion is unnecessary since the receiver accepts the original type of the expression
|