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

How to use it with prettier API? #108

@shreyas-a

Description

@shreyas-a

When I try to use it with following configuration, it throws

TypeError: Cannot read property 'toString' of null

prettier.format("print('Hello, world!')", {
  parser: 'python',
  plugins: ['@prettier/plugin-python'],
});

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions