Skip to content

Update prettier and add prettier tailwind plugin

Lukas Eipert requested to merge leipert-update-prettier into master

What does this MR do and why?

Update prettier and add prettier tailwind plugin

This updates prettier to version 3. We need to do a few adjustments:

  1. prettier's format API is now async
  2. the path to the binary file changed and needed to be adjusted in Danger. (Side note: We probably can get rid of the danger file given we now check prettier as part of lefthook and/or static analysis in CI)

We also add the prettier tailwind plugin which we plan to utilize during the tailwind migration process.

Update all files with prettier@3

These are all minor formatting adjustments. A lot of them, but minor.

MR acceptance checklist

Please evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Screenshots or screen recordings

N/A

How to set up and validate locally

N/A

Edited by Lukas Eipert

Merge request reports