Skip to content

fix: sync oxlint config with kubb-labs configs - #169

Merged
stijnvanhulle merged 1 commit into
mainfrom
claude/oxlint-oxfrmt-config-sync-ncczk7
Jul 9, 2026
Merged

fix: sync oxlint config with kubb-labs configs#169
stijnvanhulle merged 1 commit into
mainfrom
claude/oxlint-oxfrmt-config-sync-ncczk7

Conversation

@stijnvanhulle

Copy link
Copy Markdown
Owner

🎯 Changes

Syncs oxlint.config.ts with kubb-labs/kubb and kubb-labs/platform, whose oxfmt options already matched but whose oxlint config had drifted:

  • Removes the react plugin and its react/self-closing-comp / react/no-array-index-key rules. This template ships no .tsx files or React dependency, so those rules were dead config.
  • Aligns the **/*.test.ts / **/*.test.tsx override to also turn off typescript/no-explicit-any alongside typescript/consistent-type-assertions, matching kubb and platform, since test fixtures build partial or intentionally-invalid mock objects that need both.

No lint failures result from this change; pnpm lint stays green.

✅ Checklist

  • I have followed the steps in the Contributing guide.
  • I ran the full pre-PR check locally: pnpm format && pnpm lint:fix && pnpm typecheck && pnpm test.

🚀 Release Impact

  • This change affects published code, and I have generated a changeset.
  • This change is for the docs (no release).

Generated by Claude Code

Align the test-file override to disable typescript/no-explicit-any
alongside typescript/consistent-type-assertions, matching kubb and
platform. Also drops the unused react plugin/rules from the template
repo, which has no React (.tsx) code.
@codesandbox

codesandbox Bot commented Jul 9, 2026

Copy link
Copy Markdown

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@github-actions

github-actions Bot commented Jul 9, 2026

Copy link
Copy Markdown
Contributor

Size Change: 0 B

Total Size: 273 B

ℹ️ View Unchanged
Filename Size
packages/core/dist/index.js 112 B
packages/demo/dist/index.js 161 B

compressed-size-action

@pkg-pr-new

pkg-pr-new Bot commented Jul 9, 2026

Copy link
Copy Markdown

Open in StackBlitz

npm i https://pkg.pr.new/stijnvanhulle/template/@stijnvanhulle/template-core@169
npm i https://pkg.pr.new/stijnvanhulle/template/@stijnvanhulle/template-demo@169

commit: 9e5ad11

@stijnvanhulle
stijnvanhulle merged commit b38455c into main Jul 9, 2026
9 checks passed
@github-actions
github-actions Bot deleted the claude/oxlint-oxfrmt-config-sync-ncczk7 branch July 9, 2026 16:11
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.

2 participants