tests and linting #91
test-unit.yml
on: workflow_dispatch
unit tests and type checking
1m 3s
Annotations
20 errors and 8 warnings
unit tests and type checking:
packages/app-desktop/src/components/ui/headerbar-button.tsx#L4
An interface declaring no members is equivalent to its supertype
|
unit tests and type checking:
packages/app-desktop/src/components/ui/input.tsx#L5
An interface declaring no members is equivalent to its supertype
|
unit tests and type checking:
packages/app-desktop/src/electron/api/backup.electron.ts#L109
'error' is defined but never used
|
unit tests and type checking:
packages/app-desktop/src/electron/api/embed.electron.ts#L74
'error' is defined but never used
|
unit tests and type checking:
packages/app-desktop/src/electron/util.ts#L16
'error' is defined but never used
|
unit tests and type checking:
packages/app-desktop/src/features/editor/cover-image.tsx#L22
'error' is defined but never used
|
unit tests and type checking:
packages/app-desktop/src/features/sidebar/favorites.tsx#L34
Expected an assignment or function call and instead saw an expression
|
unit tests and type checking:
packages/common/src/object.ts#L9
Prefer using the primitive `object` as a type name, rather than the upper-cased `Object`
|
unit tests and type checking:
packages/common/src/object.ts#L23
Prefer using the primitive `object` as a type name, rather than the upper-cased `Object`
|
unit tests and type checking:
packages/common/src/object.ts#L45
Unexpected any. Specify a different type
|
unit tests and type checking
File '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/src/electron/db/index.ts' is not listed within the file list of project '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/tsconfig.app.json'. Projects must list all files or use an 'include' pattern.
|
unit tests and type checking
File '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/src/electron/util.ts' is not listed within the file list of project '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/tsconfig.app.json'. Projects must list all files or use an 'include' pattern.
|
unit tests and type checking
File '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/src/electron/lib/log.ts' is not listed within the file list of project '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/tsconfig.app.json'. Projects must list all files or use an 'include' pattern.
|
unit tests and type checking
File '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/src/electron/lib/fs.ts' is not listed within the file list of project '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/tsconfig.app.json'. Projects must list all files or use an 'include' pattern.
|
unit tests and type checking
File '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/src/electron/api/dialog.ts' is not listed within the file list of project '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/tsconfig.app.json'. Projects must list all files or use an 'include' pattern.
|
unit tests and type checking
File '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/src/electron/types/index.ts' is not listed within the file list of project '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/tsconfig.app.json'. Projects must list all files or use an 'include' pattern.
|
unit tests and type checking
File '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/src/electron/lib/paths.ts' is not listed within the file list of project '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/tsconfig.app.json'. Projects must list all files or use an 'include' pattern.
|
unit tests and type checking
File '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/src/electron/db/entity/note.ts' is not listed within the file list of project '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/tsconfig.app.json'. Projects must list all files or use an 'include' pattern.
|
unit tests and type checking
File '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/src/electron/db/entity/todo.ts' is not listed within the file list of project '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/tsconfig.app.json'. Projects must list all files or use an 'include' pattern.
|
unit tests and type checking
File '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/src/electron/db/entity/embed.ts' is not listed within the file list of project '/home/runner/work/darkwrite/darkwrite/packages/app-desktop/tsconfig.app.json'. Projects must list all files or use an 'include' pattern.
|
unit tests and type checking:
packages/app-desktop/src/components/ui/button.tsx#L59
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|
unit tests and type checking:
packages/app-desktop/src/features/editor/editor-menu.tsx#L46
React Hook useEffect has a missing dependency: 'updateWordCount'. Either include it or remove the dependency array
|
unit tests and type checking:
packages/app-desktop/src/features/layout/layout.tsx#L45
React Hook useEffect has a missing dependency: 'setWidth'. Either include it or remove the dependency array
|
unit tests and type checking:
packages/app-desktop/src/features/sidebar/note-item.tsx#L109
React Hook useCallback has a missing dependency: 't'. Either include it or remove the dependency array
|
unit tests and type checking:
packages/app-desktop/src/hooks/use-shortcuts.ts#L15
React Hook useEffect has a missing dependency: 'createNew'. Either include it or remove the dependency array
|
unit tests and type checking:
packages/app-desktop/src/hooks/use-startup.ts#L16
React Hook useEffect has a missing dependency: 'setRoute'. Either include it or remove the dependency array
|
unit tests and type checking:
packages/app-desktop/src/hooks/use-startup.ts#L43
React Hook useEffect has missing dependencies: 'actionPerformed' and 'nav'. Either include them or remove the dependency array
|
unit tests and type checking:
packages/ui/lib/components/ui/button.tsx#L56
Fast refresh only works when a file only exports components. Use a new file to share constants or functions between components
|