Repository navigation
chore(lint): extend @uinaf/oxlint-config - #201
Merged
Merged
Conversation
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.
Codex Review Summary: ✅ CompletedThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
This was referenced Nov 28, 2026
Shared Oxlint config: @uinaf/oxlint-config on the Cloudflare base
uinaf/oxlint-plugin-no-comments#21
Open
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
The CLI lints with the shared
@uinaf/oxlint-configEffect entry and the@effect/tsgopresets; the vendored anti-slop copy is gone.no-unsafe-type-assertionoutput-service.ts,sdk-operations.ts,run-cli.ts: generic or dynamic code; each assertion keepsSAFETY:@nkzw/no-instanceofstate.ts(tag checks change runtime, separate PR); two tests narrowingUint8Array,File,Requestno-consolescripts/**only-throw-errorVerification
pnpm exec vp run verifyvalue!failedvp run check; reverted.Notes
Related: uinaf/oxlint-plugin-no-comments#21