Skip to content

chore(lint): adopt @uinaf/oxlint-config - #204

Merged
altaywtf merged 1 commit into
mainfrom
chore/oxlint-config
Nov 28, 2026
Merged

altaywtf merged 1 commit into
mainfrom
chore/oxlint-config

Conversation

@altaywtf

Copy link
Copy Markdown
Member

Problem

Every uinaf TypeScript repo should lint with the shared @uinaf/oxlint-config.

Solution

Lint extends @uinaf/oxlint-config/effect/vite-plus. The 22 rules that fail today are off, listed in the commit; a follow-up PR turns them back on one per commit.

lint: {
  extends: [uinaf],
  env,
  ignorePatterns: [...ignorePatterns, ...repoPatterns],
  rules: { /* 22 failing rules: "off" */ },
},
  • Keeps the repo's ignore patterns and typeCheck.
  • minimumReleaseAgeExclude lets the just-published @uinaf/oxlint-config@1.0.0 past the release-age gate.

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

Extend the shared config and drop the local rules it now covers.
These rules fail today and stay off until their own commits fix them:

- 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:
- import/no-namespace
- no-console
- preserve-caught-error
- quality/no-array-filter-map
- quality/no-conditional-empty-object-spread
- quality/no-known-value-widening
- quality/no-unsafe-dictionary-type
- typescript/array-type
- typescript/no-unsafe-call
- typescript/no-unsafe-type-assertion
- typescript/require-array-sort-compare
- uinaf/no-comments
- unicorn/consistent-function-scoping
- unicorn/numeric-separators-style
- unicorn/prefer-string-raw
- unicorn/prefer-string-replace-all
@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-28T11:57:16.112314Z 2a09d0d 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 29740d4 into main Nov 28, 2026
1 check passed
@altaywtf
altaywtf deleted the chore/oxlint-config branch November 28, 2026 12:00
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