Skip to content

Turn on pedantic oxlint and make CI enforce it - #22

Merged
Octember merged 1 commit into
mainfrom
cursor/stricter-oxlint
Aug 14, 2026
Merged

Turn on pedantic oxlint and make CI enforce it#22
Octember merged 1 commit into
mainfrom
cursor/stricter-oxlint

Conversation

@Octember

Copy link
Copy Markdown
Owner

Summary

  • Enable oxlint suspicious / perf / pedantic as errors, plus no-explicit-any, eqeqeq (null-ok), import/no-cycle, and node: imports.
  • Fix the existing code those rules flag: explicit length checks, replaceAll, no require(), braced void arrows, Set.has for terminal statuses.
  • Run bun run lint in CI so the stricter set stays green. Noise rules that fight this codebase (readonly params, await-in-loop, max-lines, negated conditions) stay off; tests still skip no-unsafe-*.

Test plan

  • bun run lint
  • bun run typecheck
  • bun test (413 pass)

Made with Cursor

The extra categories catch real footguns (any, require, cycles, void-in-promise) without the noise rules that fight this codebase's shape.

Co-authored-by: Cursor <cursoragent@cursor.com>
@Octember
Octember merged commit 3beba28 into main Aug 14, 2026
1 check passed
Octember added a commit that referenced this pull request Aug 14, 2026
The concurrent ledger rewrite absorbed a stale partial copy of this branch;
this is the reconciliation: main's idiom (drizzle orm, typed one/many, guard
helpers, pedantic oxlint), the branch's final reviewed semantics — provenance-
gated recentIdenticalPost (+already-landed sentinel), failCards, absolute
slack paths, v15 terminal-report triggers, §8.6 recent tier + decay,
per-identity workspaces, message-ref task_confirm, dead code kept dead
(no guests, no distillation/ambient chains). agent-tools pinned 0.5.1.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
Octember added a commit that referenced this pull request Aug 14, 2026
The concurrent ledger rewrite absorbed a stale partial copy of this branch;
this is the reconciliation: main's idiom (drizzle orm, typed one/many, guard
helpers, pedantic oxlint), the branch's final reviewed semantics — provenance-
gated recentIdenticalPost (+already-landed sentinel), failCards, absolute
slack paths, v15 terminal-report triggers, §8.6 recent tier + decay,
per-identity workspaces, message-ref task_confirm, dead code kept dead
(no guests, no distillation/ambient chains). agent-tools pinned 0.5.1.

Co-authored-by: Claude Fable 5 <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.

1 participant