Skip to content

Don't allow duplicate category names (per group) #3305

Don't allow duplicate category names (per group)

Don't allow duplicate category names (per group) #3305

Triggered via pull request November 9, 2023 22:53
Status Failure
Total duration 1m 5s
Artifacts

check.yml

on: pull_request
Fit to window
Zoom out
Zoom in

Annotations

3 errors and 6 warnings
typecheck: packages/desktop-client/src/components/budget/index.tsx#L261
Property 'addNotification' does not exist on type 'BudgetProps'.
typecheck
Process completed with exit code 2.
lint
Process completed with exit code 1.
lint: packages/loot-core/src/server/db/index.ts#L350
Replace `·`SELECT·id·FROM·categories·WHERE·cat_group·=·?·and·name·=·?·LIMIT·1`,·[category.cat_group,·category.name]` with `⏎······`SELECT·id·FROM·categories·WHERE·cat_group·=·?·and·name·=·?·LIMIT·1`,⏎······[category.cat_group,·category.name],⏎····`
lint: packages/loot-core/src/server/db/index.ts#L352
Replace ``Category·'${category.name}'·already·exists·in·group·'${category.cat_group}'`` with `⏎········`Category·'${category.name}'·already·exists·in·group·'${category.cat_group}'`,⏎······`
lint: packages/loot-core/src/server/db/index.ts#L352
Avoid using straight quotes (' or ") in user-visible text. Use curly quotes (‘ ’ or “ ”) instead
lint: packages/loot-core/src/server/db/index.ts#L352
Avoid using straight quotes (' or ") in user-visible text. Use curly quotes (‘ ’ or “ ”) instead
lint: packages/loot-core/src/server/db/index.ts#L352
Avoid using straight quotes (' or ") in user-visible text. Use curly quotes (‘ ’ or “ ”) instead
lint: packages/loot-core/src/server/db/index.ts#L352
Avoid using straight quotes (' or ") in user-visible text. Use curly quotes (‘ ’ or “ ”) instead