Closed interfrastic closed 6 months ago
Just like #278
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: