这是indexloc提供的服务,不要输入任何密码
Skip to content

Support turbo.jsonc (or turbo.json5) #4710

@cjpearson

Description

@cjpearson

Which project is this feature idea for?

Turborepo

Describe the feature you'd like to request

Turbo uses a jsonc parser (#1472) to support comments in the config file, but IDEs/editors might warn about comments not being allowed in JSON. Changing the extension will tell them that an alternative JSON syntax is being used.

Describe the solution you'd like

If there is no turbo.json file, turbo will look for a turbo.jsonc file and use that.

Describe alternatives you've considered

Changing IDE settings, removing comments or living with the warnings are all acceptable workarounds, but it would be nice to have this feature.

Metadata

Metadata

Assignees

No one assigned

    Labels

    needs: triageNew issues get this label. Remove it after triage

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions