Closed jimblue closed 2 years ago
@jimblue
Thanks for the report! I've traced this back to a stuck build that got published (investigating that). This should be resolved with the following builds:
prettier-plugin-antlers
: 1.1.13antlers-formatter
: 1.1.9Will leave this open until I hear back :)
I confirm, both Antlers CLI and Prettier work with those versions 🎉
Describe the bug
Hello,
I'm trying to use Antlers formater programmatically for pre-commit hook but I'm getting errors.
I've tried with Formatting CLI from Antlers Toolbox with the following command :
I've also tried with globbaly installed antlersformat
Both returns the following error (it's no the full log, only the error):
Whereas when formating with VsCode command it's working perfectly...
So I've was thinking, maybe it's only the CLI, I can still try to run it with Prettier like so:
To be sure, I've even tried by to force Prettier to discover prettier-plugin-antlers:
But I always get the same error:
At this point Prettier is not working on any file type... But as soon as I uninstall prettier-plugin-antlers everything go back to normal.
Impacted Products Which Antlers Toolbox products does this bug apply to?
Versions and Other Plugins/Extensions
The template
resources/views/about/index.antlers.html