Skip to content

chore(lint): enable typescript/no-unsafe-function-type - #2162

Closed
HAYDEN-OAI wants to merge 3 commits into
mainfrom
dev/hayden/ultracite-072-typescript-no-unsafe-function-type
Closed

HAYDEN-OAI wants to merge 3 commits into
mainfrom
dev/hayden/ultracite-072-typescript-no-unsafe-function-type

Conversation

@HAYDEN-OAI

@HAYDEN-OAI HAYDEN-OAI commented Aug 10, 2026 •

Copy link
Copy Markdown
Contributor
  • I understand that this repository is auto-generated and my pull request may not be merged

Changes being requested

  • Remove the typescript/no-unsafe-function-type compatibility exception from oxlint.config.ts.
  • Replace two unsafe Function conditional constraints with (...args: never[]) => unknown.
  • Preserve the exported generic shape and existing callable-versus-undefined inference.
  • Baseline count: 2 diagnostics.

Additional context & links

Validation

  • pnpm lint
  • pnpm exec tsc --pretty false
  • NODE_NO_WARNINGS=1 pnpm exec vitest run --config vitest.config.mts --update=none

Stack

#2160
#2161
#2162 👈 this PR
#2163
#2164
#2165

@HAYDEN-OAI
HAYDEN-OAI force-pushed the dev/hayden/ultracite-072-typescript-no-unsafe-function-type branch from d8e6979 to b1369f4 Compare August 10, 2026 17:38
@HAYDEN-OAI HAYDEN-OAI closed this Aug 10, 2026
@HAYDEN-OAI
HAYDEN-OAI deleted the dev/hayden/ultracite-072-typescript-no-unsafe-function-type branch September 16, 2026 17:39

This branch was previously deployed

1 inactive deployment
ci — b1369f47 Deployed Aug 10, 2026 by HAYDEN-OAI via examples #5857
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