prettier-twig-craft-cms
This is an extension to prettier-plugin-twig-melody which should ultimately cover the Twig tags added by Craft CMS.
Installation
yarn add prettier-twig-craft-cms --dev
or
npm install prettier-twig-craft-cms --save-dev
Usage
You have to add this line in your .prettierrc
(or prettierrc.json
) file:
"twigMelodyPlugins":
This should be it.