Skip to content

Commit beb37d1

Browse files
committed
fix: fix template husky and lint-staged
1 parent 451f5fc commit beb37d1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

template/.husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
npx lint-staged
1+
./node_modules/.bin/lint-staged

template/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
},
1616
"files": ["bin", "dist"],
1717
"lint-staged": {
18-
"*": ["npm run lint"]
18+
"*.{ts}": ["npm run lint"]
1919
},
2020
"type": "module",
2121
"main": "./dist/index.cjs",

0 commit comments

Comments
 (0)