when running (as per documentation)
./node_modules/.bin/prettier --plugin=@prettier/plugin-xml --write '*.xml'
the files get parsed but the result is (unchanged) and in fact, the actual file isn't formatted. I modified it to be completely unformatted and the above command, although it does complete, it just don't do anything to the file.
I've updated my package.json with the latest version of the plugin and although I added the plugin in the
.prettierrc
file like so:when running (as per documentation)
./node_modules/.bin/prettier --plugin=@prettier/plugin-xml --write '*.xml'
the files get parsed but the result is (unchanged) and in fact, the actual file isn't formatted. I modified it to be completely unformatted and the above command, although it does complete, it just don't do anything to the file.When trying to use it in VSCode, this is what I get as output:
Contents of the
test.xml
file:Any help would be greatly appreciated!
Thanks, C