fix format-code script

This commit is contained in:
Andre Staltz 2023-04-26 14:31:14 +03:00
parent 3880877726
commit ba0a78b277
No known key found for this signature in database
GPG Key ID: 9EDE23EA7E8A4890
1 changed files with 2 additions and 2 deletions

View File

@ -54,8 +54,8 @@
},
"scripts": {
"test": "tape test/*.test.js | tap-arc --bail",
"format-code": "prettier --write \"(lib|test)/*.js\"",
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/*.js\"",
"format-code": "prettier --write \"(lib|test)/**/*.js\"",
"format-code-staged": "pretty-quick --staged --pattern \"(lib|test)/**/*.js\"",
"coverage": "c8 --reporter=lcov npm run test"
},
"husky": {