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
The Git pre-commit hooks is very slow. I was prepared to tolerate it for ordinary commits, but when I saw that it fires for every commit on a rebase I realized it was unacceptable. Looking at the file I see we're linting custom Twig files and validating the composer.json file whether or not those files have been changed. We should at least make those steps conditional. Perhaps there's a way to optimize phpcs, as well.
The text was updated successfully, but these errors were encountered:
The Git
pre-commit
hooks is very slow. I was prepared to tolerate it for ordinary commits, but when I saw that it fires for every commit on a rebase I realized it was unacceptable. Looking at the file I see we're linting custom Twig files and validating the composer.json file whether or not those files have been changed. We should at least make those steps conditional. Perhaps there's a way to optimize phpcs, as well.The text was updated successfully, but these errors were encountered: