Skip to content

biome: uses "--config-path", "/nix/store/wav9hxsa0zy51acj85d29hp0syk8waqj-validated-biome-config.json" by default #516

@losnappas

Description

@losnappas

Describe the bug

Biome, with just biome.enable = true; runs with "--config-path", "/nix/store/wav9hxsa0zy51acj85d29hp0syk8waqj-validated-biome-config.json"

That makes it so that if there's a biome.json, it gets ignored.

To Reproduce

Steps to reproduce the behavior:

  1. biome.enable = true;
  2. printf '{\n "formatter": {\n "enabled": true,\n "indentStyle": "space"\n }\n}\n' > biome.json
  3. biome format --write => spaces
  4. nix fmt => tabs

Expected behavior

Expect spaces for indent, get tabs (biome default).

System information

biome Version: 2.4.16
treefmt-nix: db947814a175b7ca6ded66e21383d938df01c227
nixos

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions