Skip to content

Commit

Permalink
chore: move from pretty-quick to lint-staged to support Prettier v3
Browse files Browse the repository at this point in the history
  • Loading branch information
wessberg committed Aug 4, 2023
1 parent 78283bf commit 129ff0d
Show file tree
Hide file tree
Showing 3 changed files with 921 additions and 881 deletions.
2 changes: 1 addition & 1 deletion .husky/pre-commit
@@ -1,4 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

pretty-quick --staged
npx lint-staged --quiet
5 changes: 4 additions & 1 deletion package.json
Expand Up @@ -65,7 +65,7 @@
"npm-check-updates": "^16.10.17",
"pnpm": "^8.6.11",
"prettier": "^3.0.1",
"pretty-quick": "^3.1.3",
"lint-staged": "^13.2.3",
"rimraf": "^5.0.1",
"rollup": "^3.27.2",
"sandhog": "^2.0.2",
Expand Down Expand Up @@ -128,6 +128,9 @@
"engines": {
"node": ">=14.19.0"
},
"lint-staged": {
"*": "prettier --ignore-unknown --write"
},
"prettier": "@wessberg/prettier-config",
"ava": {
"files": [
Expand Down

0 comments on commit 129ff0d

Please sign in to comment.