Skip to content

Conflicting fmt between yarn and biome #142

@andrew-fleming

Description

@andrew-fleming

There's a conflict between yarn and biome formatting specifically with package.json when running yarn

What yarn automatically formats:

{
(...)
  "workspaces": [
    "compact/",
    "contracts/*/",
    "docs/"
  ],
(...)
}

vs what biome formats:

{
(...)
  "workspaces": ["compact/", "contracts/*/", "docs/"],
(...)
}

To avoid this conflict every time you run yarn, I propose that biome ignores package.json since yarn will always enforce fmt there anyway

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugConfirmed bugs or reports that are very likely to be bugs.

    Type

    No type

    Projects

    Status

    Complete/Stable Release

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions