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.jsonc is not being used. #2008

Closed
1 task done
jpickwell opened this issue Mar 8, 2024 · 3 comments · Fixed by #2030
Closed
1 task done

🐛 biome.jsonc is not being used. #2008

jpickwell opened this issue Mar 8, 2024 · 3 comments · Fixed by #2030
Assignees
Labels
A-Project Area: project S-Bug-confirmed Status: report has been confirmed as a valid bug

Comments

@jpickwell
Copy link

jpickwell commented Mar 8, 2024

Environment information

CLI:
  Version:                      1.6.0
  Color support:                true

Platform:
  CPU Architecture:             aarch64
  OS:                           macos

Environment:
  BIOME_LOG_DIR:                unset
  NO_COLOR:                     unset
  TERM:                         "xterm-256color"
  JS_RUNTIME_VERSION:           "v18.19.1"
  JS_RUNTIME_NAME:              "node"
  NODE_PACKAGE_MANAGER:         unset

Biome Configuration:
  Status:                       unset

Workspace:
  Open Documents:               0

Config

// biome.jsonc -- disable formatter, linter, and import-organizer for demonstration purposes
{
    "$schema": "./node_modules/@biomejs/biome/configuration_schema.json",
    "formatter": {
        "enabled": false
    },
    "linter": {
        "enabled": false
    },
    "organizeImports": {
        "enabled": false
    }
}

What happened?

Biome does not use the biome.jsonc file; instead, it uses the defaults.

Expected result

Biome should load the biome.jsonc file.

Using the provided biome.jsonc file in the "Config" section above, biome check . should produce output similar to the following:

Checked 0 files in 71ms. No fixes needed.
internalError/io ━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

  ✖ No files were processed in the specified paths.

Code of Conduct

  • I agree to follow Biome's Code of Conduct
@ematipico
Copy link
Member

Yeah I can see from the biome rage output that the configuration is unset

@ematipico ematipico added A-Project Area: project S-Bug-confirmed Status: report has been confirmed as a valid bug labels Mar 8, 2024
@chrisgrieser
Copy link

I have the same problem, the biome.jsonc is simply ignored. macOS 14.1 (arm).

@Sec-ant
Copy link
Member

Sec-ant commented Mar 10, 2024

The problem is in auto_search loops. I want to give this a try :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-Project Area: project S-Bug-confirmed Status: report has been confirmed as a valid bug
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants