refactor(core): split functionality for better testability #47
Annotations
10 errors and 4 warnings
✅ Run code style linter:
src/settings.ts#L6
Type string trivially inferred from a string literal, remove type annotation
|
✅ Run code style linter:
src/settings.ts#L7
Type boolean trivially inferred from a boolean literal, remove type annotation
|
✅ Run code style linter:
src/settings.ts#L8
Type boolean trivially inferred from a boolean literal, remove type annotation
|
✅ Run code style linter:
test/db.spec.ts#L13
'dbPath' is never reassigned. Use 'const' instead
|
✅ Run code style linter:
test/db.spec.ts#L25
'dbPath' is never reassigned. Use 'const' instead
|
✅ Run code style linter:
test/db.spec.ts#L37
'dbPath' is never reassigned. Use 'const' instead
|
✅ Run code style linter:
test/db.spec.ts#L50
'dbPath' is never reassigned. Use 'const' instead
|
✅ Run code style linter:
test/db.spec.ts#L59
'dbPath' is never reassigned. Use 'const' instead
|
✅ Run code style linter:
test/db.spec.ts#L71
'oneThousandBooks' is never reassigned. Use 'const' instead
|
✅ Run code style linter:
test/db.spec.ts#L72
'threeThousandsAnnotations' is never reassigned. Use 'const' instead
|
✅ Run code style linter:
src/db/seed.ts#L8
Unexpected any. Specify a different type
|
✅ Run code style linter:
test/mocks/obsidian.ts#L1
'parent' is defined but never used
|
✅ Run code style linter:
test/mocks/obsidian.ts#L1
'iconId' is defined but never used
|
✅ Run code style linter:
test/mocks/obsidian.ts#L1
'size' is defined but never used
|
Loading