Skip to content

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

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

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

Conversation

@altaywtf

@altaywtf altaywtf commented Nov 28, 2026 •

Copy link
Copy Markdown
Owner

Lint moves to oxlint.config.ts on the shared @uinaf/oxlint-config Effect entry; the vendored anti-slop copy is gone.

Still off Why
no-unsafe-*, no-explicit-any, no-instanceof Need payload schemas
curly 512 one-line guards, no formatter
consistent-function-scoping 50 nested helpers
prefer-structured-clone JSON round-trips are intended
no-misused-spread, unbound-method, rules-of-hooks False positives here
  • Exceptions: no-console in scripts and dev tools, no-control-regex in worker.ts, eqeqeq allows == null.
  • No runtime change: Effect barrel imports (same Worker size), ?? for unreachable non-null cases, numeric sameIds sort.
  • tsrs runs type-aware rules.

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

Move .oxlintrc.json to oxlint.config.ts on the shared Effect config, which
ships the anti-slop rules the vendored copy carried. Rules the codebase
fails are off for now and come back one per commit.
Keep cause as an accepted name: anti-slop/no-unknown-parameters exempts
only cause, so an unknown catch callback has to use it.
Each assertion read a value the code already guarantees: a non-global
match index, a required capture group, a non-empty duplicate group, and
ids checked against the snapshot just before.
sameIds now sorts numerically; it compares two sorted copies, so any
consistent order gives the same answer.
The CI spend script and the fake dev server print by design; the client
warns about dropped frames only in dev builds.
Import Effect modules from the effect barrels, as Effect documents them.
The minified Worker bundle is the same size before and after. Alchemy
keeps its namespace imports.
Every loose comparison is `== null`, which matches null and undefined on
purpose.
worker.ts strips control characters from feedback before it becomes a
mail subject; matching them is the point.
@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:14:48.846991Z 0a5d7fe New commits
ℹ️ 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 d8b6ac3 into main Nov 28, 2026
2 checks passed
@altaywtf
altaywtf deleted the chore/uinaf-oxlint-config branch November 28, 2026 13:21
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