Skip to content

Commit

Permalink
add laravel pint
Browse files Browse the repository at this point in the history
  • Loading branch information
usp-npe committed Sep 5, 2022
1 parent 7658fbd commit d72aab0
Show file tree
Hide file tree
Showing 4 changed files with 84 additions and 1 deletion.
1 change: 1 addition & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@
"buzzclue/laravel-vue-i18n-generator": "dev-master",
"fakerphp/faker": "^1.9.1",
"filp/whoops": "~2.0",
"laravel/pint": "^1.1",
"laravel/sail": "^1.14",
"mockery/mockery": "^1.4.4",
"nunomaduro/collision": "^6.1",
Expand Down
68 changes: 67 additions & 1 deletion composer.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 3 additions & 0 deletions pint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
{
"preset": "laravel"
}
13 changes: 13 additions & 0 deletions readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,19 @@ It is recommended to execute a production deployment / upgrade as follows:
php artisan migrate --force
php artisan up

Code style fixer
----------------

Run:

./vendor/bin/pint

or when using Laravel Sail:

sail php ./vendor/bin/pint

More information here: https://github.com/laravel/pint

Development notes
-----------------

Expand Down

0 comments on commit d72aab0

Please sign in to comment.