▲ | bapak a day ago | |
pre-commits require discipline: - enforce them on CI too; not useful for secrets but at least you're eventually alerted - do not run tasks that take more than a second; I do not want my commit commands to not be instant. - do not prevent bad code from being committed, just enforce formatting; running tests on pre-commit is ridiculous, imagine Word stopping you from saving a file until you fixed all your misspellings. |