Skip to content

fix: resolve TS2591 lint errors for Node.js types#508

Merged
Boshen merged 1 commit into
mainfrom
fix/lint-ts2591
Mar 16, 2026
Merged

fix: resolve TS2591 lint errors for Node.js types#508
Boshen merged 1 commit into
mainfrom
fix/lint-ts2591

Conversation

@Boshen

@Boshen Boshen commented Mar 16, 2026

Copy link
Copy Markdown
Member

Summary

  • Add "types": ["node"] to root tsconfig.json so oxlint's type checker resolves Node.js built-in types
  • Add "ignorePatterns": ["**/fixtures/**"] to .oxlintrc.json to skip fixture files excluded from tsconfig

🤖 Generated with Claude Code

Add `"types": ["node"]` to tsconfig.json so oxlint's type checker finds
Node.js type definitions, and ignore fixture files that are excluded from
tsconfig and don't need type checking.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@Boshen Boshen merged commit 05b6cf8 into main Mar 16, 2026
53 checks passed
@Boshen Boshen deleted the fix/lint-ts2591 branch March 16, 2026 03:05
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