Skip to content

Commit

Permalink
fix pint ci task
Browse files Browse the repository at this point in the history
  • Loading branch information
oxyc committed Jul 31, 2024
1 parent 2247807 commit 8dcfc31
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
2 changes: 1 addition & 1 deletion composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -186,7 +186,7 @@
],
"ci": [
"@composer validate --no-check-all",
"pint --report=checkstyle | vendor/bin/cs2pr",
"pint --format=checkstyle | vendor/bin/cs2pr",
"(cd web/app/themes/gds; npm run ci:scripts --silent) | vendor/bin/cs2pr",
"(cd web/app/themes/gds; npm run ci:styles --silent 2>&1) | vendor/bin/cs2pr"
],
Expand Down
20 changes: 20 additions & 0 deletions pint.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
{
"preset": "laravel",
"exclude": [
"web/app/cache",
"web/app/languages",
"web/app/mu-plugins/kinsta-mu-plugins",
"web/app/mu-plugins/show-environment-in-admin-bar",
"web/app/plugins",
"web/app/uploads",
"web/wp"
],
"notPath": [
"web/genero-status.php",
"web/index.php",
"web/app/advanced-cache.php",
"web/app/object-cache.php",
"web/app/wp-cache-config.php"
"web/app/mu-plugins/wp-cli-login-server.php"
]
}

0 comments on commit 8dcfc31

Please sign in to comment.