Don't allow duplicate category names (per group) #3305
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
|