[WIP] ♻️ make templates classy and replace 🍝 code #11064
Annotations
1 error and 10 warnings
Lint
Process completed with exit code 1.
|
Lint:
packages/loot-core/src/server/budget/categoryTemplate.ts#L7
'isReflectBudget' is defined but never used. Allowed unused vars must match /^(_|React)/u
|
Lint:
packages/loot-core/src/server/budget/categoryTemplate.ts#L9
'Template' is defined but never used. Allowed unused vars must match /^(_|React)/u
|
Lint:
packages/loot-core/src/server/budget/categoryTemplate.ts#L58
Replace `⏎····priority:·number,⏎····budgetAvail:·number,⏎··)·{⏎` with `priority:·number,·budgetAvail:·number)·{`
|
|
Lint:
packages/loot-core/src/server/budget/categoryTemplate.ts#L134
Replace `-` with `·-·`
|
Lint:
packages/loot-core/src/server/budget/categoryTemplate.ts#L176
Replace `templates,·categoryID:·string,·month:·string,·fromLastMonth:number` with `⏎····templates,⏎····categoryID:·string,⏎····month:·string,⏎····fromLastMonth:·number,⏎··`
|
Lint:
packages/loot-core/src/server/budget/categoryTemplate.ts#L183
Expected '!==' and instead saw '!='
|
Lint:
packages/loot-core/src/server/budget/categoryTemplate.ts#L287
Avoid using straight quotes (' or ") in user-visible text. Use curly quotes (‘ ’ or “ ”) instead
|
Lint:
packages/loot-core/src/server/budget/categoryTemplate.ts#L287
Avoid using straight quotes (' or ") in user-visible text. Use curly quotes (‘ ’ or “ ”) instead
|
Lint:
packages/loot-core/src/server/budget/categoryTemplate.ts#L303
Expected '!==' and instead saw '!='
|
Loading