mirror of
https://github.com/actualbudget/actual.git
synced 2026-03-22 00:13:45 -05:00
lint: promote no-floating-promises and require-array-sort-compare to error and fix violations (#7168)
* lint: promote no-floating-promises and require-array-sort-compare to error and fix violations - Set typescript/no-floating-promises and typescript/require-array-sort-compare to error in .oxlintrc.json - Add explicit compare functions to all .sort() calls: migrations (localeCompare), crdt/merkle (localeCompare), FiltersMenu (tuple key), useScheduleEdit (two-arg comparator), exec.test (localeCompare), goal-template and category-template-context (numeric), main.test and transactions.test (localeCompare / amount+id) - Fix invalid single-arg sort in useScheduleEdit to proper two-arg comparator Made-with: Cursor * refactor: update sorting functions to use two-argument comparator * Update index.ts --------- Co-authored-by: Cursor Agent <cursoragent@cursor.com> Co-authored-by: Matiss Janis Aboltins <MatissJanis@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
3a22f1a153
commit
282a99db2f
6
upcoming-release-notes/7168.md
Normal file
6
upcoming-release-notes/7168.md
Normal file
@@ -0,0 +1,6 @@
|
||||
---
|
||||
category: Maintenance
|
||||
authors: [MatissJanis]
|
||||
---
|
||||
|
||||
Lint: fix 'typescript/no-floating-promises' and 'typescript/require-array-sort-compare' issues
|
||||
Reference in New Issue
Block a user