Skip to content

Commit db8cb99

Browse files
committed
chore: standardize husky configuration
1 parent 5f1e553 commit db8cb99

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npx --no-install lint-staged
1+
npx lint-staged

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -101,9 +101,7 @@
101101
"react-dom": ">=18.0.0"
102102
},
103103
"lint-staged": {
104-
"**/*.{js,jsx,tsx,ts,md,json}": [
105-
"prettier --write"
106-
]
104+
"*": "prettier --write --ignore-unknown"
107105
},
108106
"publishConfig": {
109107
"access": "public"

0 commit comments

Comments
 (0)