We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 8012fd1 commit aa19959Copy full SHA for aa19959
.husky/.gitignore
@@ -0,0 +1 @@
1
+_
.husky/pre-commit
@@ -0,0 +1,4 @@
+#!/bin/sh
2
+. "$(dirname "$0")/_/husky.sh"
3
+
4
+yarn lint-staged
package.json
@@ -30,7 +30,8 @@
30
"prettier:check": "prettier --check .",
31
"lerna": "lerna",
32
"storybook": "yarn workspace storybook start",
33
- "build-storybook": "yarn workspace storybook build-storybook"
+ "build-storybook": "yarn workspace storybook build-storybook",
34
+ "prepare": "husky install"
35
},
36
"workspaces": {
37
"packages": [
@@ -67,11 +68,6 @@
67
68
"recursive-readdir": "^2.2.2",
69
"shx": "^0.3.2"
70
- "husky": {
71
- "hooks": {
72
- "pre-commit": "lint-staged"
73
- }
74
- },
75
"prettier": "@spotify/prettier-config",
76
"lint-staged": {
77
"*.{js,jsx,ts,tsx}": [
0 commit comments