Skip to content

Fix pnpm lint failing to load TypeScript config#13

Merged
devi4nt merged 2 commits into
mainfrom
fix/lint-config-and-warning
Mar 30, 2026
Merged

Fix pnpm lint failing to load TypeScript config#13
devi4nt merged 2 commits into
mainfrom
fix/lint-config-and-warning

Conversation

@devi4nt
Copy link
Copy Markdown
Owner

@devi4nt devi4nt commented Mar 30, 2026

Summary

  • Add .npmrc with node-options="--experimental-strip-types" so Node 22 can load vite.config.ts when pnpm spawns the vp binary (fixes ERR_UNKNOWN_FILE_EXTENSION error)
  • Suppress no-floating-promises lint warning in time.spec.ts with void operator

Test plan

  • pnpm lint exits 0 with no warnings or errors

🤖 Generated with Claude Code

devi4nt and others added 2 commits March 30, 2026 23:24
Add .npmrc with --experimental-strip-types so Node 22 can load
vite.config.ts when pnpm spawns the vp binary. Also suppress
no-floating-promises warning in time.spec.ts with void operator.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@cloudflare-workers-and-pages
Copy link
Copy Markdown

cloudflare-workers-and-pages Bot commented Mar 30, 2026

Deploying mythic-plus-team-randomiser with  Cloudflare Pages  Cloudflare Pages

Latest commit: 5eec9f3
Status: ✅  Deploy successful!
Preview URL: https://c44a0563.mythic-plus-team-randomiser.pages.dev
Branch Preview URL: https://fix-lint-config-and-warning.mythic-plus-team-randomiser.pages.dev

View logs

@devi4nt devi4nt merged commit ec389bb into main Mar 30, 2026
1 of 2 checks passed
@devi4nt devi4nt deleted the fix/lint-config-and-warning branch March 30, 2026 22:26
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