https://github.com/patelvimal/ng-vim-devtools
A schematic to integrate husky, prettier and commit-lint in your angular application
https://github.com/patelvimal/ng-vim-devtools
angular-schematics git-hooks huksy-integration prettier-integration
Last synced: 5 months ago
JSON representation
A schematic to integrate husky, prettier and commit-lint in your angular application
- Host: GitHub
- URL: https://github.com/patelvimal/ng-vim-devtools
- Owner: patelvimal
- License: mit
- Created: 2021-10-07T10:55:48.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-01-08T14:51:25.000Z (about 4 years ago)
- Last Synced: 2025-08-30T05:03:38.956Z (6 months ago)
- Topics: angular-schematics, git-hooks, huksy-integration, prettier-integration
- Language: TypeScript
- Homepage:
- Size: 304 KB
- Stars: 3
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# @ng-vim/devtools
A schematic to integrate husky, prettier and commit-lint in your angular application
## 🌟 Install
```sh
$ ng add @ng-vim/devtools
```
Running above schematics in your angular application will integrate below functionality.
1. Auto format your staged files before commiting using prettier configuration
1. Make sure your commit messages are per commitlint standard.
After this whenever you will try to perform any git actions like `git commit` and `git push`, husky command will be executed for the respective commands.
## Troubleshoot
If you are using Linux/Max operating system you need to give execution permission to `.husky` and `.git/hooks` folder.
```sh
chmod ug+x .husky/*
chmod ug+x .git/hooks/*
```
## Husky Documentation
https://typicode.github.io/husky
## License
The MIT License (MIT)