diff --git a/package.json b/package.json index 2812f72..ba40f76 100644 --- a/package.json +++ b/package.json @@ -3,5 +3,8 @@ "@prettier/plugin-php": "^0.20.1", "@prettier/plugin-xml": "^3.2.1", "prettier": "^3.0.3" + }, + "scripts": { + "format": "prettier --plugin @prettier/plugin-php --plugin @prettier/plugin-xml --write 'src/**/*.php' 'test/**/*.php' '*.xml'" } }