heybourn/headwind

Linting loop about sorting and eslint.

YWoooo opened this issue · 1 comments

Hi,

I'm not good at English, so I hope this .gif could descript the issue.

RH1H6t3PBI

Prettier run first. Then sorting. But the result of sorting would violate my eslint's rule. So, prettier will run again at the next time I save, and the result will again, violate the rule.

It causes a loop, between headwind and eslint.

I know changing my eslint's rule will solve the problem. And I know this might not a issue for headwind. So I'm not really sure if this is an real issue. But it would be nice if there is another way to solve this.

If you need other informations like my .prettierrc.js or settings.json, please let me know.

Thank you.