id: no-raw-aria-sort
language: tsx
severity: error
message: Sortable headers must use SortableHeaderCell
note: '{"severity":"high","category":"componentization","resolution":"Use SortableHeaderCell from @overdeck/deck-ui."}'
files:
  - 'apps/web/src/**'
  - 'packages/deck-ui/src/**'
  - '**/.slopgate/fixtures/**'
ignores:
  - '**/SortableHeaderCell.tsx'
  - '**/*.test.tsx'
rule:
  all:
    - kind: jsx_attribute
    - regex: '^aria-sort='
