Skip to content

Commit 6965b7b

Browse files
Add a format script to composer
- Simplifies the development workflow by combining multiple formatting commands - Ensures consistent code style across the entire codebase - Reduces the chance of forgetting to run one of the formatters
1 parent 28c7b10 commit 6965b7b

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

composer.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,6 +55,10 @@
5555
"dev": [
5656
"Composer\\Config::disableProcessTimeout",
5757
"npx concurrently -c \"#93c5fd,#c4b5fd,#fb7185,#fdba74\" \"php artisan serve\" \"php artisan queue:listen --tries=1\" \"php artisan pail --timeout=0\" \"npm run dev\" --names=server,queue,logs,vite"
58+
],
59+
"format": [
60+
"npm run format",
61+
"./vendor/bin/pint"
5862
]
5963
},
6064
"extra": {

0 commit comments

Comments
 (0)