Add Laravel Pint configuration for Shift compatibility #564

Merged
Copilot merged 4 commits from copilot/add-code-styling-setup into main 2026-01-29 05:16:17 +00:00
2 changed files with 15 additions and 0 deletions
Showing only changes of commit d38422e16c - Show all commits

View File

@@ -52,6 +52,12 @@
"@php artisan key:generate --ansi",
"@php -r \"file_exists('database/database.sqlite') || touch('database/database.sqlite');\"",
"@php artisan migrate --graceful --ansi"
],
"pint": [
"./vendor/bin/pint"
],
"pint-test": [
"./vendor/bin/pint --test"
]
},
"extra": {

9
pint.json Normal file
View File

@@ -0,0 +1,9 @@
{
"preset": "laravel",
"rules": {
"simplified_null_return": true,
"braces": false,
"new_with_braces": true,
"no_unused_imports": true
}
}