Skip to content

chore(lint): extend @uinaf/oxlint-config - #201

Merged
altaywtf merged 23 commits into
mainfrom
chore/uinaf-oxlint-config
Nov 28, 2026
Merged

altaywtf merged 23 commits into
mainfrom
chore/uinaf-oxlint-config

Conversation

@altaywtf

Copy link
Copy Markdown
Member

Summary

The CLI lints with the shared @uinaf/oxlint-config Effect entry and the @effect/tsgo presets; the vendored anti-slop copy is gone.

Rule Still off in
no-unsafe-type-assertion output-service.ts, sdk-operations.ts, run-cli.ts: generic or dynamic code; each assertion keeps SAFETY:
@nkzw/no-instanceof state.ts (tag checks change runtime, separate PR); two tests narrowing Uint8Array, File, Request
no-console scripts/**
only-throw-error smoke script: rethrows the caught failure
  • Every other newly failing rule is fixed and on.
  • No runtime change: formatting, types, named imports, equivalent rewrites.

Verification

  • pnpm exec vp run verify
  • Negative control: a scratch comment plus value! failed vp run check; reverted.

Notes

Related: uinaf/oxlint-plugin-no-comments#21

Replace the vendored anti-slop plugin with the shared config on the Effect Vite+ entry and keep the @effect/tsgo presets. Rules the shared config newly fails are off; later commits re-enable them one at a time.
 Scoped off in output-service.ts (generic structure-preserving sanitizers that TypeScript cannot relate back to the input type), sdk-operations.ts (dynamic SDK dispatch, already exempt from the Effect type-assertion rule) and the run-cli test harness (console proxy built with Object.create). Each assertion keeps its SAFETY comment.
 Scoped off in the test harness and crash-reporting test, which narrow platform body types (Uint8Array, File, Request), and in state.ts, where ConfigLockBusy checks move to tag checks in a separate pull request because that changes runtime code.
 Scoped off for scripts/**: the packed-install smoke script reports progress on the terminal. CLI source writes through the Effect Console and output adapters.
@chatgpt-codex-connector

chatgpt-codex-connector Bot commented Nov 28, 2026 •

Copy link
Copy Markdown
Codex Review Summary: ✅ Completed

This comment shows the latest Codex review activity on this pull request.

Review Status Commit Review trigger
📝 Code Review ✅ Completed 2026-11-28T13:22:14.152317Z 040a0da PR opened
ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review" or "@codex security review".

Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings.

@altaywtf
altaywtf merged commit 612e536 into main Nov 28, 2026
6 checks passed
@altaywtf
altaywtf deleted the chore/uinaf-oxlint-config branch November 28, 2026 13:25
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