Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support flow parser in prettier #75

Open
stud-mai opened this issue Dec 1, 2021 · 3 comments
Open

Support flow parser in prettier #75

stud-mai opened this issue Dec 1, 2021 · 3 comments
Labels
bug Something isn't working good first issue Good for newcomers

Comments

@stud-mai
Copy link

stud-mai commented Dec 1, 2021

Running this plugin on project with flow types causes an error as follow:

Снимок экрана 2021-12-01 в 20 23 10

The reason is explicit indication to prettier to use babel-ts parser in utils/are-nodes-same-in-text.js

@igorkamyshev
Copy link
Member

Thanks 🙏

It looks like a bug for any non-standard JS-like languages.

@igorkamyshev igorkamyshev added bug Something isn't working good first issue Good for newcomers labels Dec 2, 2021
@igorkamyshev
Copy link
Member

So, I'd tried to set up Flow with ESlint in test env, but I failed. Could you make a PR with test for your use-case?

I'm not a big specialist in Flow, and I cannot set up it properly.

@stud-mai
Copy link
Author

Ok, I'll try to do it as soon as possible

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants