Skip to content
This repository was archived by the owner on May 1, 2020. It is now read-only.
This repository was archived by the owner on May 1, 2020. It is now read-only.

fs-extra/readJsonSync breaks comments in tsconfig.json #18

Closed
@rob3c

Description

@rob3c

TypeScript has allowed comments in tsconfig.json files for almost a year now (see microsoft/TypeScript#4987), but the current use of readJsonSync() in fs-extra to parse tsconfig.json files doesn't seem to like them.

Maybe switching to a tsconfig-aware library like https://github.com/TypeStrong/tsconfig would better support the full format?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions