$ the-wire · showcase
PINT PATCHES BLADE FORMATTING AND ALPINE SYNTAX BUGS
By RepoJournal · Filed · About Laravel · Composed from the cited sources · methodology
Laravel's code formatter shipped v1.30.2 overnight with four critical fixes targeting template syntax that was breaking Blade imports and Alpine directives.
Pint v1.30.2 lands with a focused round of fixes for template handling [1]. Nuno Maduro addressed a persistent issue where unused imports were being incorrectly retained in Blade files [2], a problem that would clutter your templates and trigger linter warnings on every deploy. The release also fixes formatting of Alpine.js mask directives and escaped @@ symbols [3], which were causing syntax errors in components that mix Alpine interactivity with Blade syntax. Two additional fixes prevent Pint from injecting commas into non-call directives [4] and improve cache handling [5] for faster subsequent runs. This is a quiet but necessary update for teams running strict code style enforcement on template files.
Action items
- → Update Pint to v1.30.2 in your next composer update laravel/pint [plan]
- → Re-run pint format on existing Blade files to clean up any false positives laravel/pint [plan]
References
- [1] v1.30.2 ↗ laravel/pint
- [2] fix: keeps unused imports on blade ↗ laravel/pint
- [3] fix: formatting alpine mask + escaped @@ ↗ laravel/pint
- [4] fix: never adds a comma to a directive that is not a call ↗ laravel/pint
- [5] fix: using cache ↗ laravel/pint