Repository navigation
chore(lint): extend the shared @uinaf/oxlint-config - #129
Merged
Merged
Conversation
Rules the shared config adds that fail today, off until fixed: - anti-slop/no-runtime-typeof - anti-slop/no-shape-in-symbol-names - anti-slop/no-unknown-parameters - anti-slop/require-readable-spacing - anti-slop/require-safety-comment-for-type-assertion - curly - no-console - preserve-caught-error - import/consistent-type-specifier-style - quality/no-conditional-empty-object-spread - quality/no-known-value-widening - quality/no-unknown-returns - quality/no-unsafe-dictionary-type - typescript/array-type - typescript/no-non-null-assertion - typescript/no-unnecessary-type-assertion - typescript/no-unsafe-argument - typescript/no-unsafe-assignment - typescript/no-unsafe-call - typescript/no-unsafe-member-access - typescript/no-unsafe-type-assertion - uinaf/no-comments - unicorn/consistent-function-scoping - unicorn/prefer-import-meta-properties - unicorn/prefer-single-call - unicorn/prefer-string-raw - unicorn/prefer-string-replace-all
Blank lines only, applied by the rule's autofix.
The rule's autofix removes the comments. Two catches it would leave empty, which no-empty rejects, now return explicitly.
Hoist the peer repository helper to module scope.
Index reads fall back to empty strings where the index is always in range; peerPath and projectPath destructure instead.
Rename ConfigShape to KnownConfigKeys, shapeErrors to definitionErrors, and the test loop variables.
Add optional fields in separate statements.
Wrapped errors carry the caught error as cause; messages are unchanged.
src/cli.ts, scripts/ and parity/capture.ts write terminal output by design.
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. Its /vite-plus entry already loads the vite-plus plugin and prefer-vite-plus-imports, so the local copies go. * chore(lint): restore SAFETY comments on unenforced invariants #129 deleted comments that recorded the traversal-first contract checks, case and Unicode alias handling, the dangling-symlink guard in init, git maxBuffer, package-local version metadata, and the parity locks. 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.
workspace-kit now lints with the shared
@uinaf/oxlint-config. Each rule it adds that the code met with a mechanical fix is on, one commit per rule.array-type,consistent-type-specifier-style,prefer-string-raw,prefer-string-replace-all,prefer-single-call,prefer-import-meta-properties,no-unnecessary-type-assertion,require-readable-spacinguinaf/no-commentsno-emptyno-non-null-assertion,no-conditional-empty-object-spread,no-shape-in-symbol-names,consistent-function-scoping,preserve-caught-errorno-consolesrc/cli.ts,scripts/andparity/capture.tscurlyno-runtime-typeof,no-unknown-parameters,no-unknown-returns,no-known-value-widening,no-unsafe-dictionary-type,no-unsafe-*,no-unsafe-type-assertion,require-safety-comment-for-type-assertioncause.featorfixcommits, so no release.Related: uinaf/oxlint-plugin-no-comments#21