Skip to content

Commit

Permalink
feat: add 'format' npm script
Browse files Browse the repository at this point in the history
  • Loading branch information
loilo committed Sep 17, 2023
1 parent 74b39c0 commit c0ccbcf
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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'"
}
}

0 comments on commit c0ccbcf

Please sign in to comment.