oven-sh/bun

`bun init` generates inconsistent files with spacing / tabs

Open

#19,319 opened on Apr 27, 2025

View on GitHub
 (1 comment) (0 reactions) (0 assignees)Rust (90,348 stars) (4,486 forks)batch import
bugcligood first issue

Description

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

Contributor guide