Skip to content
This repository was archived by the owner on Oct 14, 2025. It is now read-only.

v1.0.0

Choose a tag to compare

@bronisMateusz bronisMateusz released this 16 Apr 07:53
· 301 commits to main since this release

prettier-plugin-tailwindcss-drupal v1.0.0

Changes

  • Added support for Drupal syntax in Twig templates
  • Improved class sorting in Drupal-specific elements
  • Adapted the tool to work with the Twig plugin (@zackad/prettier-plugin-twig)

Installation Instructions

npm install --save-dev prettier-plugin-tailwindcss-drupal

or

yarn add --dev prettier-plugin-tailwindcss-drupal

Configuration

In the .prettierrc file:

{
  "plugins": ["@zackad/prettier-plugin-twig", "prettier-plugin-tailwindcss-drupal"],
  "tailwindStylesheet": "./web/themes/custom/iq/css/tailwind.css",
  "singleQuote": false
}

Notes

This plugin is a fork of prettier-plugin-tailwindcss with additional support for Drupal projects.