Skip to content

Commit 4fc1c47

Browse files
committed
chore: standardize husky configuration
1 parent 3a584e5 commit 4fc1c47

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-
lint-staged
1+
npx lint-staged

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -109,9 +109,7 @@
109109
"mode": "npm"
110110
},
111111
"lint-staged": {
112-
"**/*.{js,jsx,tsx,ts,md,json}": [
113-
"prettier --write --ignore-unknown"
114-
]
112+
"*": "prettier --write --ignore-unknown"
115113
},
116114
"publishConfig": {
117115
"access": "public"

0 commit comments

Comments
 (0)