You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
npm pkg set scripts.commitlint="commitlint --edit"
118
+
npx husky add .husky/commit-msg 'npm run commitlint ${1}'
119
+
```
120
+
121
+
115
122
Check the [husky documentation](https://typicode.github.io/husky/#/?id=manual) on how you can automatically have Git hooks enabled after install for different `yarn` versions.
npm pkg set scripts.commitlint="commitlint --edit"
49
+
npx husky add .husky/commit-msg 'npm run commitlint ${1}'
50
+
```
51
+
46
52
**Please note that currently @commitlint/cli doesn't support yarn v2 Plug'n'Play (using yarn v2 with `nodeLinker: node-modules` in your .yarnrc.yml file may work sometimes)**\
47
53
Check the [husky documentation](https://typicode.github.io/husky/#/?id=manual) on how you can automatically have Git hooks enabled after install for different `yarn` versions.
0 commit comments