You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Notice the indentation in the type definition of the function argument. The eslint extension on vscode complains about it correctly. Relevant vscode config:
Let me know if there's anything else you need from my side (or if you can't reproduce it, I couldn't find anything on my specific vscode config that causes this but maybe I'm missing something).
The text was updated successfully, but these errors were encountered:
Here's a repo reproducing this issue https://github.com/julioolvr/vscode-prettier-repro
Given this code, this is the way VScode with this plugin formats it:
Here's the output that
prettier-eslint-cli
generates (runnpm run prettier
in the given repo)Notice the indentation in the type definition of the function argument. The eslint extension on vscode complains about it correctly. Relevant vscode config:
Let me know if there's anything else you need from my side (or if you can't reproduce it, I couldn't find anything on my specific vscode config that causes this but maybe I'm missing something).
The text was updated successfully, but these errors were encountered: