Skip to content

Commit 381e192

Browse files
committed
chore: standardize husky configuration
1 parent b04d834 commit 381e192

2 files changed

Lines changed: 2 additions & 3 deletions

File tree

.husky/pre-commit

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
npx lint-staged

package.json

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -44,9 +44,7 @@
4444
"docs:build:gh-pages": "GH_PAGES=1 npm run docs:build"
4545
},
4646
"lint-staged": {
47-
"**/*.{js,jsx,tsx,ts,md,json}": [
48-
"prettier --write --ignore-unknown"
49-
]
47+
"*": "prettier --write --ignore-unknown"
5048
},
5149
"dependencies": {
5250
"@rc-component/motion": "^1.3.3",

0 commit comments

Comments
 (0)