From d1f84650a69de48e144c9f26cd7b22472e14c566 Mon Sep 17 00:00:00 2001 From: Claude Date: Wed, 2 Sep 2026 14:32:30 +0000 Subject: [PATCH] chore: pin oxlint and oxlint-tsgolint to exact versions MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit `lint` runs oxlint with `--deny-warnings` and CI runs `lint`, so a floating caret range picks up a rule added to oxlint's `correctness` set on a minor release and turns CI red on a day nobody touched the code. This is the hazard oxfmt is already pinned exactly against, and that `typescript` is held to `~7.0.2` for. Pinned to the versions the lockfile already resolved — oxlint 1.81.0 and oxlint-tsgolint 7.0.2001 — so nothing upgrades here; the lockfile diff is the two range strings and no resolution change. tsgolint is pinned too because it supplies the type-aware rules and is oxlint's peer, so the pair moves together. Co-Authored-By: Claude Opus 5 Claude-Session: https://claude.ai/code/session_01DdZebeeuQjgQTUszAjJDLb --- .claude/CLAUDE.md | 6 ++++++ bun.lock | 4 ++-- package.json | 4 ++-- 3 files changed, 10 insertions(+), 4 deletions(-) diff --git a/.claude/CLAUDE.md b/.claude/CLAUDE.md index 8b4cc292..53fd6ef4 100644 --- a/.claude/CLAUDE.md +++ b/.claude/CLAUDE.md @@ -336,6 +336,12 @@ installed, no script invoked it, and CI never ran it — so none of the rules it named had ever fired. Several of the findings fixed on the way in were the backlog that had built up behind that. +Both versions are **pinned exactly** (not ranges), as oxfmt's is: `lint` runs +with `--deny-warnings` and CI runs `lint`, so a floating range picks up a rule +added to `correctness` on a minor release and turns CI red on a day nobody +touched the code. They move together — oxlint declares `oxlint-tsgolint` as a +peer — so bump both in one deliberate change. + Type-aware rules need no build here: they resolve `@workglow/*` through the published `dist/*.d.ts` that `bun install` already puts in `node_modules`. diff --git a/bun.lock b/bun.lock index 57bd825c..0cf26756 100644 --- a/bun.lock +++ b/bun.lock @@ -33,8 +33,8 @@ "bunset": "1.0.15", "concurrently": "^10.0.5", "oxfmt": "0.66.0", - "oxlint": "^1.81.0", - "oxlint-tsgolint": "^7.0.2001", + "oxlint": "1.81.0", + "oxlint-tsgolint": "7.0.2001", "typescript": "~7.0.2", "vitest": "^4.1.11", }, diff --git a/package.json b/package.json index 99f2037a..44834b9f 100644 --- a/package.json +++ b/package.json @@ -80,8 +80,8 @@ "bunset": "1.0.15", "concurrently": "^10.0.5", "oxfmt": "0.66.0", - "oxlint": "^1.81.0", - "oxlint-tsgolint": "^7.0.2001", + "oxlint": "1.81.0", + "oxlint-tsgolint": "7.0.2001", "typescript": "~7.0.2", "vitest": "^4.1.11" },