chore(*.php): use pint for php formatting

This commit is contained in:
Cory Dransfeldt 2025-06-14 16:55:03 -07:00
parent 029caaaa9e
commit cf1ee4c97f
No known key found for this signature in database
40 changed files with 2261 additions and 1900 deletions

View file

@ -1,6 +1,6 @@
{
"name": "coryd.dev",
"version": "10.1.4",
"version": "10.2.4",
"description": "The source for my personal site. Built using 11ty (and other tools).",
"type": "module",
"engines": {
@ -13,14 +13,15 @@
"php": "export $(grep -v '^#' .env | xargs) && php -d error_reporting=E_ALL^E_DEPRECATED -S localhost:8080 -t dist",
"build": "eleventy",
"clean": "rimraf dist .cache",
"format": "npx prettier --write '**/*.{js,ts,json,css,md}'",
"format": "npx prettier --write '**/*.{js,ts,json,css,md}' && composer format:php",
"update": "composer update && npm upgrade && npm --prefix cli upgrade && ncu && ncu --cwd cli",
"setup": "sh ./scripts/setup.sh",
"setup:deploy": "sh ./scripts/setup.sh --deploy",
"prepare": "husky"
},
"lint-staged": {
"*.{js,json,css,md}": "prettier --write"
"*.{js,json,css,md}": "prettier --write",
"*.php": "composer format:php"
},
"keywords": [
"11ty",