Skip to content

Commit

Permalink
Uses npx for commit linting scripts (#467)
Browse files Browse the repository at this point in the history
  • Loading branch information
creativecoder authored Nov 6, 2023
1 parent 60d7e32 commit d30fcae
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@
},
"lint-staged": {
"*.{js,json,yml}": [
"wp-scripts format"
"npx wp-scripts format"
],
"*.js": [
"npm run lint:js"
Expand All @@ -68,7 +68,7 @@
"npm run lint:php"
],
"package.json": [
"wp-scripts lint-pkg-json"
"npx wp-scripts lint-pkg-json"
]
}
}

0 comments on commit d30fcae

Please sign in to comment.