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
I configured prettier-plugin-sh to format my .gitignore files and this worked fine until I tried to format the standard .gitignore provided for Visual Studio Code:
I'm sorry, but actually ignore files are not officially supported by https://github.com/mvdan/sh what means only basic and simple ignore files usage cases can be handled correctly. We can not do much inside.
I configured
prettier-plugin-sh
to format my.gitignore
files and this worked fine until I tried to format the standard.gitignore
provided for Visual Studio Code:https://github.com/github/gitignore/blob/main/VisualStudio.gitignore
Attempts to format the file fail with this error:
The workaround is to comment out these two lines:
The text was updated successfully, but these errors were encountered: