oven-sh/bun

`bun init` generates inconsistent files with spacing / tabs

Open

#19.319 geöffnet am 27. Apr. 2025

Auf GitHub ansehen
 (1 Kommentar) (0 Reaktionen) (0 zugewiesene Personen)Rust (90.348 Stars) (4.486 Forks)batch import
bugcligood first issue

Beschreibung

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