-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Husky removal #245
base: master
Are you sure you want to change the base?
Husky removal #245
Conversation
For the documentation, my intention is to update powa-team/powa#181 |
Isn't that way over engineered? I was expecting just a new |
One important advantage of the We can at least make the checks consistent in git hooks and CI by calling |
I don't think that's a big problem. Storing random files in a git project is a very bad habit and can only lead to problems (adding wrong files, forgetting to add files and so on). Also, the script would be an opt in thing to be able to check stuff before the CI. Personally the first thing I would do would be to not enable it as it has only been annoying me since its introduction. I would just invoke it before pushing, or more realistically push, have a CI error, run it and push again. Annoying, but less that current behavior. |
9cda552
to
3a1925b
Compare
Don't you use I agree that husky is too aggressive because it installs itself automatically. In comparison, For now, my proposal is to first remove |
I do, and also review my own changes while at it before submission. But my experience reviewing other people PR is that most of people likely don't. That being said, relying on that is also a great way to forgot adding new files. You can of course install some kind of git prompt to help you make sure you don't forget to stage files, but then this is only helpful if you don't have random files laying in the repo, which brings back to my original "storing random files is a bad habit".
It's also the developer's choice to install it as wanted. In my case while I don't like pre-commit hook as I tend to commit frequently in-progress work (including when I need to switch to another branch), but I would totally symlink such a script as a pre-push, since at that point I do want to make sure all the easy mistakes are fixed. |
Fixes #244