Repository navigation
refactor(lint): re-enable the shared Oxlint rules - #205
Merged
Merged
Conversation
uinaf/no-comments flags JSDoc on members nested in an exported object, which stripped the @deprecated tag from CDN.exports.ogCardPost and broke the published-types test. Turn the rule off for that file.
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
altaywtf
added a commit
that referenced
this pull request
Nov 28, 2026
) * chore(lint): bump @uinaf/oxlint-config to 1.0.4 1.0.4 ships no-comments 1.2.0, which keeps standalone SAFETY comments. The release-age comment now matches the name-only excludes. * chore(lint): restore SAFETY comments on unenforced invariants #205 deleted comments that recorded release atomicity, fail-closed changed-file enumeration, ReDoS bounds, the </script > evasion, why shipped rules warn, the deploy identity, the design-check exit codes, and why alchemy leaves domain unset and pins strictPort. No code or test enforces them, so they return as SAFETY comments.
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.
Problem
The adoption PR switched off the
@uinaf/oxlint-configrules that failed; turn them back on.Solution
One commit per rule, fixing the code. 15 rules are back on; 7 stay off.
typescript/no-unsafe-type-assertion,anti-slop/require-safety-comment-for-type-assertion,anti-slop/no-runtime-typeof,anti-slop/no-unknown-parameters,quality/no-unsafe-dictionary-typeexecFileSyncresults the scripts and lint CLI readquality/no-known-value-wideningcountByRulereturnsRecord<string, number>in the published@uinaf/design/lintAPIunicorn/consistent-function-scopinguinaf/no-commentsstays off forsrc/cdn.ts: the rule flags the@deprecatedJSDoc on a published nested member.no-consolestays off forscripts/**and thedesign-checkCLI, which print by design.alchemy.run.tsimportsEffect,StackandRemovalPolicyby name; the stack's names and ids are unchanged.Related: uinaf/oxlint-plugin-no-comments#21