Skip to content

require_config_file doesn't seem to work #119

@adamhl8

Description

@adamhl8

Possibly the same as #59, but this issue isn't about an error appearing

"lsp": {
  "biome": {
    "settings": {
      "require_config_file": true
    }
  }
}

I want to do something like this where I default to Prettier but use Biome if the config file exists:

"languages": {
  "TypeScript": {
    "formatter": [
      {
        "external": {
          "command": "prettier",
          "arguments": [
            "--stdin-filepath",
            "{buffer_path}"
          ]
        }
      },
      {
        "language_server": {
          "name": "biome"
        }
      }
    ],
  }
}

With "require_config_file": true and without a biome.json in my project root, Biome still formats with its default settings.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions