Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

🐛 biome init creates biome.json even if biome.jsonc already exists #3024

Closed
colinhacks opened this issue May 30, 2024 · 0 comments · Fixed by #3035 · May be fixed by abdulrahman305/continue#2
Closed

🐛 biome init creates biome.json even if biome.jsonc already exists #3024

colinhacks opened this issue May 30, 2024 · 0 comments · Fixed by #3035 · May be fixed by abdulrahman305/continue#2
Labels
A-CLI Area: CLI good first issue Good for newcomers S-Bug-confirmed Status: report has been confirmed as a valid bug S-Help-wanted Status: you're familiar with the code base and want to help the project

Comments

@colinhacks
Copy link

colinhacks commented May 30, 2024

Environment information

yarn biome rage
yarn run v1.22.19
$ /Users/colinmcd94/Documents/projects/zod/node_modules/.bin/biome rage
CLI:
  Version:                      1.7.3
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v22.2.0"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         "yarn/1.22.19"

Biome Configuration:
  Error:                        Found an unknown key `ternaryStyle`.
  Status:                       Loaded with errors
  Formatter disabled:           false
  Linter disabled:              false
  Organize imports disabled:    false
  VCS disabled:                 true

Workspace:
  Open Documents:               0

✨  Done in 0.23s.


### What happened?

1. Ran `yarn biome init`
2. The CLI created a `biome.json` file even though a `biome.jsonc` already existed

### Expected result

Detect `biome.jsonc` and do not create `biome.json`

### Code of Conduct

- [X] I agree to follow Biome's Code of Conduct
@ah-yu ah-yu added A-CLI Area: CLI S-Bug-confirmed Status: report has been confirmed as a valid bug labels May 30, 2024
@ematipico ematipico added good first issue Good for newcomers S-Help-wanted Status: you're familiar with the code base and want to help the project labels May 30, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-CLI Area: CLI good first issue Good for newcomers S-Bug-confirmed Status: report has been confirmed as a valid bug S-Help-wanted Status: you're familiar with the code base and want to help the project
Projects
None yet
3 participants