chore(*.php): use pint for php formatting
This commit is contained in:
parent
bd1855a65e
commit
753f3433ce
40 changed files with 2261 additions and 1900 deletions
|
@ -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",
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue