all repos

clerk @ 936917268b03e2cc3e324e0a632172cfdcbc5f69

missing tooling for ledger/hledger

clerk/internal/linter/testdata/orderdate.input (view raw)

Oleksandr Smirnov Oleksandr Smirnov
olexsmir@gmail.com
linter: add chronological order, 1 month ago
1
2026-01-15 * "Transaction 1"
2
  Expenses:Food      $10
3
  Assets:Cash
4
5
2026-01-10 * "Transaction 2 - out of order (before Txn 1)"
6
  Expenses:Food      $20
7
  Assets:Cash
8
9
2026-01-12 * "Transaction 3 - would slip through old prev logic (12 < 15 but 12 > 10)"
10
  Expenses:Food      $8
11
  Assets:Cash
12
13
2026-02-01 * "Transaction 4"
14
  Expenses:Food      $15
15
  Assets:Cash
16
17
2026-01-20 * "Transaction 5 - out of order (before Txn 4)"
18
  Expenses:Food      $5
19
  Assets:Cash
20
21
2026-03-01 * "Transaction 6"
22
  Expenses:Food      $25
23
  Assets:Cash
24
25
2025-12-01 * "Transaction 7 - entirely before everything"
26
  Expenses:Food      $30
27
  Assets:Cash