Skip to content

feat: lists

feat: lists #1479

Triggered via pull request September 19, 2024 18:28
Status Failure
Total duration 1m 31s
Artifacts

lint.yml

on: pull_request
Matrix: Format, Lint and Typecheck
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 10 warnings
src/services/cleaner.spec.ts > test db cleaner > data should be set up correctly: apps/renderer/src/services/cleaner.spec.ts#L109
Error: Snapshot `test db cleaner > data should be set up correctly 3` mismatched - Expected + Received [ { "feedId": "feed-id-1", - "id": "test-user-id-1/feed-id-1", - "userId": "test-user-id-1", - }, - { - "feedId": "feed-id-3", - "id": "test-user-id-1/feed-id-3", + "id": "test-user-id-1/undefined", "userId": "test-user-id-1", }, { "feedId": "feed-id-4", - "id": "test-user-id-2/feed-id-4", + "id": "test-user-id-2/undefined", "userId": "test-user-id-2", }, { "feedId": "feed-id-5", - "id": "test-user-id-3/feed-id-5", + "id": "test-user-id-3/undefined", "userId": "test-user-id-3", }, { - "feedId": "feed-id-1", + "feedId": "feed-id-2", - "id": "test-user-id/feed-id-1", - "userId": "test-user-id", - }, - { - "feedId": "feed-id-2", - "id": "test-user-id/feed-id-2", + "id": "test-user-id/undefined", "userId": "test-user-id", }, ] ❯ src/services/cleaner.spec.ts:109:27
src/services/cleaner.spec.ts > test db cleaner > should clean remaining data: apps/renderer/src/services/cleaner.spec.ts#L115
Error: Snapshot `test db cleaner > should clean remaining data 1` mismatched - Expected + Received @@ -3,6 +3,15 @@ "id": "feed-id-1", }, { "id": "feed-id-2", }, + { + "id": "feed-id-3", + }, + { + "id": "feed-id-4", + }, + { + "id": "feed-id-5", + }, ] ❯ src/services/cleaner.spec.ts:115:19
Format, Lint and Typecheck (18.x)
Process completed with exit code 1.
Format, Lint and Typecheck (18.x): apps/renderer/src/atoms/hooks/viewport.ts#L14
React Hook useCallback has a missing dependency: 'selector'. Either include it or remove the dependency array. If 'selector' changes too often, find the parent component that defines it and wrap that definition in useCallback
Format, Lint and Typecheck (18.x): apps/renderer/src/atoms/route.ts#L33
React Hook useMemo was passed a dependency list that is not an array literal. This means we can't statically verify whether you've passed the correct dependencies
Format, Lint and Typecheck (18.x): apps/renderer/src/atoms/route.ts#L33
React Hook useMemo has a missing dependency: 'selector'. Either include it or remove the dependency array. If 'selector' changes too often, find the parent component that defines it and wrap that definition in useCallback
Format, Lint and Typecheck (18.x): apps/renderer/src/components/Versions.tsx#L9
Classname 'versions' is not a Tailwind CSS class!
Format, Lint and Typecheck (18.x): apps/renderer/src/components/Versions.tsx#L10
Classname 'electron-version' is not a Tailwind CSS class!
Format, Lint and Typecheck (18.x): apps/renderer/src/components/Versions.tsx#L11
Classname 'chrome-version' is not a Tailwind CSS class!
Format, Lint and Typecheck (18.x): apps/renderer/src/components/Versions.tsx#L12
Classname 'node-version' is not a Tailwind CSS class!
Format, Lint and Typecheck (18.x): apps/renderer/src/components/errors/helper.ts#L36
React Hook useEffect has a missing dependency: 'resetError'. Either include it or remove the dependency array. If 'resetError' changes too often, find the parent component that defines it and wrap that definition in useCallback
Format, Lint and Typecheck (18.x): apps/renderer/src/components/ui/auto-completion/AutoCompletion.tsx#L78
React Hook useEffect has a missing dependency: 'doFilter'. Either include it or remove the dependency array
Format, Lint and Typecheck (18.x): apps/renderer/src/components/ui/background/WindowUnderBlur.tsx#L9
Fast refresh only works when a file only exports components. Move your component(s) to a separate file