Skip to content

Migrate fails with jsonc and trailing commas #276

@madflow

Description

@madflow

What happened?

npx fallow migrate

Error: failed to parse knip.jsonc: trailing comma at line 6 column 3

So... not really a big thing and will not happen very often. Still reporting it here.

Reproduction

  • Create a jsonc file with trailing commas and run migrate

Expected behavior

  • Migrate can parse jsonc

Fallow version

2.64.0

Operating system

macOS

Configuration

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions