oven-sh/bun

`bun init` generates inconsistent files with spacing / tabs

Open

#19,319 创建于 2025年4月27日

在 GitHub 查看
 (1 评论) (0 反应) (0 负责人)Rust (90,348 star) (4,486 fork)batch import
bugcligood first issue

描述

What version of Bun is running?

1.2.10

What platform is your computer?

Darwin 24.4.0 arm64 arm

What steps can reproduce the bug?

  1. bun init
  2. Choose library

What is the expected behavior?

Files should be consistent with either spaces or tabs (but we all know it should be spaces, right? 😬)

What do you see instead?

  • package.json is spaced by tabs
  • tsconfig.json is spaced by spaces

Additional information

No response

贡献者指南

`bun init` generates inconsistent files with spacing / tabs · oven-sh/bun#19319 | Good First Issue