Skip to content

chore: upgrade oxlint to ^1.64.0 and fix lint errors#251

Merged
IzumiSy merged 1 commit into
mainfrom
chore/upgrade-oxlint
May 13, 2026
Merged

chore: upgrade oxlint to ^1.64.0 and fix lint errors#251
IzumiSy merged 1 commit into
mainfrom
chore/upgrade-oxlint

Conversation

@IzumiSy
Copy link
Copy Markdown
Contributor

@IzumiSy IzumiSy commented May 13, 2026

Summary

Upgrade oxlint from ^1.59.0 to ^1.64.0 and fix new lint errors introduced by the upgrade.

Changes

  • Upgrade oxlint in pnpm workspace catalog: ^1.59.0^1.64.0
  • Fix jsx-a11y/prefer-tag-over-role:
    • role="separator"<hr> in DescriptionCard
    • role="list" / role="listitem"<ul> / <li> in ActionPanel
  • Fix no-underscore-dangle:
    • Rename _contextDatacontextDataStore (internal only)
    • Rename __pending / __valuependingMarker / pendingValue (internal only)
    • Suppress with oxlint-disable-next-line for _type fields (backward compatibility)

- Upgrade oxlint from ^1.59.0 to ^1.64.0 in pnpm workspace catalog
- Fix prefer-tag-over-role: replace role="separator" with <hr>, role="list/listitem" with <ul>/<li>
- Fix no-underscore-dangle: rename _contextData to contextDataStore, __pending/__value to pendingMarker/pendingValue
- Suppress no-underscore-dangle for _type fields (backward compatibility)
Copy link
Copy Markdown
Contributor

@erickteowarang erickteowarang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice changes, much better for accessibility!

@IzumiSy IzumiSy merged commit 8d5c851 into main May 13, 2026
4 checks passed
@IzumiSy IzumiSy deleted the chore/upgrade-oxlint branch May 13, 2026 06:49
erickteowarang pushed a commit that referenced this pull request May 14, 2026
Brings in #247 (type-aware cell renderers), #248 (column align), #251
(oxlint upgrade), #253 (accessor narrowing docs), and #254 (inferColumns
no longer carries an accessor). Conflicts:

- types.ts: dropped the duplicate `accessor` declaration from
  `ColumnBase` (it now lives per-branch in `ColumnTypeBranch` per #247)
  and kept both new fields — `align` (from #248) and `truncate` (from
  this branch). Updated `truncate`'s JSDoc to describe the Tooltip
  wiring rather than the `title` attribute.
- field-helpers.ts: kept main's spread-based `column()` so the
  discriminated union survives.
- data-table.tsx: combined `align` and `truncate` into the same cell
  classes; rebuilt `content` via `col.render ?? renderTypedCell(...)`
  (from #247).
- data-table.test.tsx / docs: kept both feature describe blocks and
  combined doc tables.

Per @IzumiSy's review (#249), the truncate tooltip now uses the
app-shell `<Tooltip>` component (with a `Tooltip.Provider` mounted at
`DataTable.Root`) instead of the browser `title` attribute. The cell
is wrapped in `Tooltip.Trigger` only when `accessor` returns a
stringifiable primitive — objects / arrays / no accessor still apply
the truncate CSS but skip the tooltip wiring.

Tests: 1010 passing (was 992 + 8 new truncate tests). Lint, fmt,
workspace typecheck all clean.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants