effector/eslint-plugin

Support flow parser in prettier

stud-mai opened this issue · 3 comments

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

Thanks 🙏

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

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.

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