Last active
June 16, 2022 19:48
-
-
Save reacto11mecha/6b1f9a3efa0d1bdde33701b3e4575185 to your computer and use it in GitHub Desktop.
Husky installer and other stuff
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| pnpm install --save-dev @commitlint/{config-conventional,cli} husky prettier eslint eslint-config-prettier | |
| npm init @eslint/config | |
| echo "module.exports = {extends: ['@commitlint/config-conventional']}" > commitlint.config.js | |
| npx husky install | |
| npx husky add .husky/commit-msg 'npx --no -- commitlint --edit "$1"' | |
| npx mrm@2 lint-staged |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment